Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

SpiceyWolf

Members
  • Posts

    142
  • Joined

  • Last visited

    Never

Everything posted by SpiceyWolf

  1. IN CASE I FORGOT THE WHOLE BUTTON CODE ITS MADE LIKE THIS… PUT A CHECK BOX WHERE YOU WANT IT TO BE USED, THEN THE CODE YOU WANTED THE BUTTON TO AFFECT YOU MUST HAVE frm(form location).(name of new checkbox button) = 0(or 1 depending if its checked on or not for the effect) Then THIS IS ALL ONE LINE I WENT OFF TELLING STUFF... BUT AFTERWARDS COPY YOUR ENTIRE CODE, PUT ELSE UNDERNEATH AND PLACE A COPY THEN MAKE THE CHANGES U WANT TO HAVE WHEN U HAVE TURNED ON/OFF THE BUTTON. IF THE CHECKBOX IS = 0 ITS OFF EFFECT IF THE CHECKBOX IS = 1 IT IS ON EFFECT Ok This is my first participation to the forum.(figured i could give back since i found something on my own with my noob skills and never opening a book to learn VB XD) Thank Zafi and Chuchoide for these base tutorials :P check them out here : http://www.touchofdeathforums.com/smf/index.php/topic,72411.0.html ZAFI http://www.touchofdeathforums.com/smf/index.php/topic,72727.0.html CHUCHOIDE Start off by searching for ``` Name = Trim$(Player(Index).Name) ``` in the ModText Module. Overwrite with this starting off ``` If GetPlayerAccess(Index) = 0 Then End If ```In between those in that space there, put this ``` Name = Trim$(Player(Index).Name) & " Lv" & GetPlayerLevel(Index) ElseIf GetPlayerAccess(Index) = 1 Then Name = "[Mod]" Trim$(Player(Index).Name) & " Lv" & GetPlayerLevel(Index) ```The thing where it sais mod is just the extra tag it puts when u find the access level in the thing above… And if you want to have something other that just Lv like have the lvl in parenthases or something change: ``` " Lv" & GetPlayerLevel(Index) ```to ``` " Lv" & GetPlayerLevel(Index) & "Lv" ```and change the "Lv's" to what u want it to show in ur codes. to add the other access levels just copy ``` ElseIf GetPlayerAccess(Index) = 1 Then Name = "[Mod]" Trim$(Player(Index).Name) & " Lv" & GetPlayerLevel(Index) ```over 3 more times and change 1 to the access level and change the mod tag. to look like this ``` ElseIf GetPlayerAccess(Index) = 1 Then Name = "[MOD]" Trim$(Player(Index).Name) & " Lv" & GetPlayerLevel(Index) ElseIf GetPlayerAccess(Index) = 2 Then Name = "[MPR]" Trim$(Player(Index).Name) & " Lv" & GetPlayerLevel(Index) ElseIf GetPlayerAccess(Index) = 3 Then Name = "[DEV]" Trim$(Player(Index).Name) & " Lv" & GetPlayerLevel(Index) ElseIf GetPlayerAccess(Index) = 4 Then Name = "[ADMIN]" Trim$(Player(Index).Name) & " Lv" & GetPlayerLevel(Index) ```Done. When you ARE done… your end results should look like this ``` If GetPlayerAccess(Index) = 0 Then Name = Trim$(Player(Index).Name) & " Lv" & GetPlayerLevel(Index) ElseIf GetPlayerAccess(Index) = 1 Then Name = "[MOD]" Trim$(Player(Index).Name) & " Lv" & GetPlayerLevel(Index) ElseIf GetPlayerAccess(Index) = 2 Then Name = "[MPR]" Trim$(Player(Index).Name) & " Lv" & GetPlayerLevel(Index) ElseIf GetPlayerAccess(Index) = 3 Then Name = "[DEV]" Trim$(Player(Index).Name) & " Lv" & GetPlayerLevel(Index) ElseIf GetPlayerAccess(Index) = 4 Then Name = "[ADMIN]" Trim$(Player(Index).Name) & " Lv" & GetPlayerLevel(Index) End If ```If you wanna make the option button AND mix it with this you only need to add : ``` If frmMain.ChckLv = 1 Then ```under ``` If GetPlayerAccess(Index) = 0 Then ```and put the "without level" code… which looks like this by example ``` Else Name = Trim$(Player(Index).Name) End If ```So lets review that… ``` If GetPlayerAccess(Index) = 0 Then If frmMain.ChckLv = 1 Then Name = Trim$(Player(Index).Name) & "Lv" & GetPlayerLevel(Index) Else Name = Trim$(Player(Index).Name) End If Name = "MOD" & Trim$(Player(Index).Name) & "Lv" & GetPlayerLevel(Index) Else Name = "MOD" &Trim$(Player(Index).Name) End If ```and so on … and make the check button in the options menu... named ChckLv DONE. End code should look something like the way i Have it. ``` If GetPlayerAccess(Index) = 0 Then If frmMain.ChckLv = 1 Then Name = Trim$(Player(Index).Name) & " (" & GetPlayerLevel(Index) & ")" Else Name = Trim$(Player(Index).Name) End If ElseIf GetPlayerAccess(Index) = 1 Then If frmMain.ChckLv = 1 Then Name = "[MOD] " & Trim$(Player(Index).Name) & " (" & GetPlayerLevel(Index) & ")" Else Name = "[MOD] " & Trim$(Player(Index).Name) End If ElseIf GetPlayerAccess(Index) = 2 Then If frmMain.ChckLv = 1 Then Name = "[MPR] " & Trim$(Player(Index).Name) & " (" & GetPlayerLevel(Index) & ")" Else Name = "[MPR] " & Trim$(Player(Index).Name) End If ElseIf GetPlayerAccess(Index) = 3 Then If frmMain.ChckLv = 1 Then Name = "[ADM] " & Trim$(Player(Index).Name) & " (" & GetPlayerLevel(Index) & ")" Else Name = "[ADM] " & Trim$(Player(Index).Name) End If ElseIf GetPlayerAccess(Index) = 4 Then If frmMain.ChckLv = 1 Then Name = "[DEV] " & Trim$(Player(Index).Name) & " (" & GetPlayerLevel(Index) & ")" Else Name = "[DEV] " & Trim$(Player(Index).Name) End If End If ```And in Game u should look like this:http://i1097.photobucket.com/albums/g349/SpiceyWolf/Example.png DONE now you know how to get both of them! again thanks guys for your wonderfull base codes :P
  2. GRR i hate vb so much… its too confusing Look at this horo sprite i drew... EVENTUALLY IT WILL GO IN THIS DAM GAME THAT FAILS!
  3. thats the thing robin, i didnt make a backup since AFTER that was broke and im way beyond that… other wise its starting over completely AGAIN and i have like half of a game rebuilt in origins that was originaly in stable
  4. Also sorry if theres a double post rule on here but i forgot to mention… i have added quite a few more source edits since when that stopped working(which i wasnt aware that problem wasnt there to begin with untill it was too late... someone else told me about it after i already saved my source files and made new versions without making backups... seeing as the spells thing i wasnt looking at and everything seemed working... and no one else was getting copies of the new updates... so thats how i know it was after one of my first few edits... and if anyone needs a copy of my source to see ill post(tell first before i post) ALSO if anyone can tell me how to do the call buttons that lightning was talking about in his pet system it would be greatly appreciated... im not very experienced with VB i have learned how to do a couple things on top of adding source from tutorials and for the most part fixing whatever errors it gives me on compile XD
  5. Ok, im using EO 2… and somewhere along the lines of adding equipment slots (i know the error with this is Client Side) i messed up the functions for the spell system, like what happens now is when i load the editor and go to make a spell item, the spell list doesnt come up(slider that sais which spell number) and i dont know exactly where i messed that up... it coulda been anywhere with one of my other edits like attribute adding.... im just assuming that the error came from adding the equipment slots and maby accidently changing the spell stuff.... ALSO i remember a few times durring compiling things... i got everything else i need working without failure its ONLY the spell system thats failing... but there were errors in codes and i just deleted the lines that they highlighted till it worked....(i know thats not smart but i figured since a few tutorials just werent specific enough that maby what i was deleting was just parts that were meant to be apart of the replace. ANYWAY if anyone can help me just re add the spell system all together(if thats needed) or just find all the parts of that system thats suppost to be there and find out whats messed up or missing. Any replies i thank u for in advanced.
  6. nvm i got it workin now… my problem was i overwrote a code with a code that was already there(thinking they said the same thing) and then it failed.
  7. i fixed it… i realized that the part where u have the thing u gotta put twice on one page(the only difference between the lines of code is one said index and the other said PlayerNum) i copied over the index code over the Playernum and then it didnt do anything... on like my 5th time trying that code(yes i tried as many times as it took cuz i needed this... im remaking my friends game and this was one thing he wouldnt make an exception for... i needed this back) i knoticed that there was a difference in the code... but thnx for help anyway :P
  8. Im having the same problem where it points to .sound… but i just need to compile it...it doesnt require me to compile something in the source first to compile the client do i? ALSO if anyone knows how to fix this... somewhere along the line when i was adding equipment slots and a few other things i dont think mod anything around the spell system fuction(client side) i now have a problem where it doesnt show the spell number select in the item editor... i dont know if i removed that fuction all together or just messed it up... im thinking that it gave me an error pointing to it and not paying attention i just deleted a few or all lines of that function... anyone know how to set in that whole fuction all together again?
  9. @DJMaxus: > So you added the tutorials wrong twice? Perhaps this problem was happening before you added the tuts, test your backup and see if you're getting your equipment problem. There are changes you've made that you need to go over, I doubt the tutorials are wrong. No I meant I went over it, but, like, before i saw that you posted on my topic.
  10. @DJMaxus: > I would suggest going to your backup copy and try re-doing the edits a bit more carefully this time. Kinda did that already. Thanks anyways for the reply.
  11. not sure if this is the place im suppost to ask this, if it is plz tell me where to go, but i used the add equipment slots and also the extra sprite tiles…(the ones that would work on eo 2 meening Murdoks equipment add and FBU's sprite changer tile) and i dont know but for some reason when i equip something ... to everyone elses screen they are wearing it and not me, and if they equip something it shows im wearing something( on everyones screen whenever they equip something it looks to them as they are wearing it too) so things blend.... and i know this should happen either way... and i dont know how to fix... not really used to visual basic... but is there anything that u would put in there to do stuff like that? please help!
  12. Im using EO beta 2, some things didnt show up like in the game logic, the stuff to edit wasnt in there, in server or client… BUT my problem is i got every part to work except the items being equipable... im not too worried about it showing up in equipment slots... in fact i MAY remove the view for equipment slot if that wont ruin anything but i REALLY need help making my new slots equipable. Im making a zelda mmo just for me and its not really anything im tryna make big for everyone to use(at least not for a long time) but i added these slots ] Fairy,Masks,Boots,Horse,CLeft,CDown,CRight,Hair,And eyes[ they all show up every part works so far(not overlapping other item types or anything) they just WONT equip and it makes me mad >_<
  13. lol thanxs for the bright ideas i was too stupid to think of…(not being sarcastic i really mean that... im pretty stupid to have not thought of them...)
  14. well is there any way to make it like those so it isnt knoticable like the online games? their parents are stupid and theyll only allow it if its in the web browser X.X
  15. Is it possible to get the client for the game engine to play inside the web browser… Like Runescape, or flash games? I have friends who arent aloud to download stuff and I gotta try my hardest to try and put this in the browser before i just tell them they cant work with me or play...
×
×
  • Create New...