SA-MP Forums Archive
Help with bug problem pls. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Help with bug problem pls. (/showthread.php?tid=278070)



Help with bug problem pls. - chrism11 - 20.08.2011

Hey, well we have a old script, it wasn't indented and so i spent 5 days indenting it. (40000 lines) Well, after i indented it caused bugs, and i was wondering why indenting would cause that and how i could fix it.


Re: Help with bug problem pls. - =WoR=G4M3Ov3r - 20.08.2011

Give some details and codes.


Re: Help with bug problem pls. - chrism11 - 20.08.2011

i cannot give any part of the script, but details, well we have a if(team == cop || team == army)
it gives +4 wanted level in /rob and /rape, and else it gives +2, and it wont give wanted any wanted level, like its stoping, ive checked everywhere in the cmd and i cant find anything, no brackets missing or in the wrong place or a return that could be stoping it.


Re: Help with bug problem pls. - =WoR=G4M3Ov3r - 20.08.2011

Quote:
Originally Posted by chrism11
Посмотреть сообщение
i cannot give any part of the script, but details, well we have a if(team == cop || team == army)
it gives +4 wanted level in /rob and /rape, and else it gives +2, and it wont give wanted any wanted level, like its stoping, ive checked everywhere in the cmd and i cant find anything, no brackets missing or in the wrong place or a return that could be stoping it.
How do you expect us to solve the problem if we can't actually see where the problem in your code is ?, Just paste the whole cmd you want fixed so we can see what's wrong with it.


Re: Help with bug problem pls. - chrism11 - 20.08.2011

i'm sorry i cannot give you any code, but i just wanted to know reasons why it could bug so i could search for it and fix myself, and too add, when i test myself on a portforwarded server it all works but when its uploaded to main serv, it bugs.


Re: Help with bug problem pls. - PhoenixB - 20.08.2011

"InDenting" 40 Thousand lines in 5 days you say right? Well Extraterrestrial Roleplay is at its 3560Line today and its been over 5 Days. Are you sure you created this script with 40 THOUSAND lines in 5 days? Sorry for offtopic.


Re: Help with bug problem pls. - chrism11 - 20.08.2011

i didnt make it i indented it


Re: Help with bug problem pls. - =WoR=G4M3Ov3r - 20.08.2011

Quote:
Originally Posted by chrism11
Посмотреть сообщение
i didnt make it i indented it
Well, I'm sorry, But no one will be able to help you without seeing some codes, to analyze and fix the errors.


Re: Help with bug problem pls. - chrism11 - 20.08.2011

then i guess u cant help me


Re: Help with bug problem pls. - =WoR=G4M3Ov3r - 20.08.2011

Quote:
Originally Posted by chrism11
Посмотреть сообщение
then i guess u cant help me
No one will, Because no one can help without seeing the Codes, and to ACTUALLY see what the problem is and, what line it's on.