Sheker Posted January 13, 2012 Share Posted January 13, 2012 This compiles correctly and the client works fine. However, when I register an account or log in to character creation, it crashes with a runtime error 7 - out of memory.Can anybody help?EDIT: Nevermind! Fixed! Link to comment Share on other sites More sharing options...
Dream Posted January 25, 2012 Share Posted January 25, 2012 > Variable not defined```x = GUIWindow(GUI_MAINMENU).x + Buttons(i).x```Can you help me? ;P Link to comment Share on other sites More sharing options...
Sheker Posted January 26, 2012 Share Posted January 26, 2012 @Dream:> ```> x = GUIWindow(GUI_MAINMENU).x + Buttons(i).x> ```> Can you help me? ;PFirst time I did that, I put it in the wrong sub because some subs have same code in it which slightly differs. Check it again and put it in the right one. Link to comment Share on other sites More sharing options...
seanmungo Posted January 26, 2012 Share Posted January 26, 2012 =D Nice, Although i dont use CS:DE. Is a Excellent Tutorial and add =). Great Job Sir! xD Link to comment Share on other sites More sharing options...
crzyone9584 Posted February 21, 2012 Share Posted February 21, 2012 I've been using this tutorial to buid up character custimization during the characeter selection screen. I was able to get them to be able to pick armor. I'm loving it. Only problem i can't figure out is how you have it sprite and hair by the correct buttons. Link to comment Share on other sites More sharing options...
gabriel190 Posted March 13, 2012 Share Posted March 13, 2012 Firstly congratulations for the tutorial!Does not show me any error, but just do not change their hair or sex.Help me please? I did the tutorial 2 times and still not get it to work properly.@edit: maybe i need to add something in classes.ini?@edit2:forget all! I fix it. I'm make some mistakes when i made the tutorial… :embarrassed: Link to comment Share on other sites More sharing options...
davsd123 Posted April 12, 2012 Share Posted April 12, 2012 Help in the server side there is no MAX_BUTTONS what will i do? this is CS:DE Link to comment Share on other sites More sharing options...
Growlith1223 Posted April 12, 2012 Share Posted April 12, 2012 That's because it's only in Client Side… Link to comment Share on other sites More sharing options...
davsd123 Posted April 12, 2012 Share Posted April 12, 2012 don't work :/ when im testing it it's just same i can't click the arrows Link to comment Share on other sites More sharing options...
davsd123 Posted April 12, 2012 Share Posted April 12, 2012 Change MAX_BUTTONS Value to equal 39 instead of 35That's in server side Link to comment Share on other sites More sharing options...
crzyone9584 Posted April 13, 2012 Share Posted April 13, 2012 Tokyo max buttons is client side not server side…. MAX_BUTTONS is in the file called modConstants. Just search the entire project of the client till you findPublic Const MAX_BUTTONS As Long Link to comment Share on other sites More sharing options...
brad1383 Posted April 23, 2012 Share Posted April 23, 2012 I was wondering if someone could help me with this, i've done the tutorial 3times now and it keeps giving me this: Variable not defined when I just finish character creation and it highlights moddirectx8 -> sub drawnpc -> getplayerhair(index)>! ![](http://dl.dropbox.com/u/38672364/wut.png) Link to comment Share on other sites More sharing options...
Justn Posted April 23, 2012 Share Posted April 23, 2012 Wow really 3 times and u still read the directions wrong? You put that line of code in drawnpc and not drawplayer ;) Link to comment Share on other sites More sharing options...
brad1383 Posted April 23, 2012 Share Posted April 23, 2012 oh god I'm retarded xD Thanks alot man, I always look over the smallest of details Link to comment Share on other sites More sharing options...
Synergy Posted May 19, 2012 Share Posted May 19, 2012 Sorry if this is a bit of a late post, so to speak.But I was wondering, it seems that the hair doesn't cover the top bit of the sprite's head (it's too low down the screen) - can I move it's position in the code, or will I have to change the hair paperdolls?Thanks.EDIT: It would also appear that after doing this tutorial, my player movement is screwed up.. Going down doesn't work. Then going left or right, after a while the sprite will jump to another spot.I've tried deleting my maps and reloading.. No change.Any ideas? Link to comment Share on other sites More sharing options...
Synergy Posted May 19, 2012 Share Posted May 19, 2012 Sorry, me again. I'm still having trouble with the movement, but I've also found that the sprite which was loaded was wrong, I wonder if this is correct?:Find:> Find:> ```> ' sprite preview> sprite = Class(newCharClass).MaleSprite(newCharSprite)> 'EngineRenderRectangle Tex_Char(sprite), x + 235, y + 123, 32, 0, 32, 32, 32, 32, 32, 32> RenderTexture Tex_Char(sprite), x + 235, y + 123, 32, 0, 32, 32, 32, 32> > ```> Replace it with this:> ```> RenderChar> > RenderTexture Tex_Hair(newCharHair), x + 265, y + 120, 32, 0, 32, 32, 32, 32> > ```Should it be "add below" and not "replace"? Link to comment Share on other sites More sharing options...
Synergy Posted May 20, 2012 Share Posted May 20, 2012 Bit of a bump..Could anyone help with this, or am I going to have to go back to a vanilla source code?Thanks. Link to comment Share on other sites More sharing options...
The New World Posted May 20, 2012 Share Posted May 20, 2012 I believe the order of which it's rendered changes the z-order of it. So if you add below I believe that should fix whatever problem you're having, considering it's hair. Link to comment Share on other sites More sharing options...
Synergy Posted May 20, 2012 Share Posted May 20, 2012 Okay, I've fixed most problems.Except that the hair paperdoll images are still too low on the sprites. I've tried changing their (the hair images') positions, i.e. moving the pixels up and down in the canvas, but it doesn't make any difference; the top of the image is placed too low on the sprite..How would I change the position of the hair images over the sprite (I need to move them up by 1px; see attachment).Thanks. Link to comment Share on other sites More sharing options...
The New World Posted May 20, 2012 Share Posted May 20, 2012 change the "y + 265" Link to comment Share on other sites More sharing options...
Synergy Posted May 20, 2012 Share Posted May 20, 2012 @[rose:> link=topic=77052.msg859274#msg859274 date=1337545895]> change the "y + 265"That's exactly what I was looking for, thanks. You're a saint. :) Link to comment Share on other sites More sharing options...
Synergy Posted May 20, 2012 Share Posted May 20, 2012 @[rose:> link=topic=77052.msg859276#msg859276 date=1337549163]> Now if you'll be so kind as to mark your topic as solved(:This is a tutorial topic, not a Q&A. Also, not my topic. :P Link to comment Share on other sites More sharing options...
Doctor Toenail Posted June 17, 2012 Share Posted June 17, 2012 No EO version of this? Link to comment Share on other sites More sharing options...
Wilfre Posted June 18, 2012 Share Posted June 18, 2012 this isn't for EO Link to comment Share on other sites More sharing options...
12it123 Posted June 25, 2012 Share Posted June 25, 2012 I've got a question, does this allow more than one male and female sprite to be used? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now