PDA

View Full Version : _callbacksetup isin't working ?!?!



suck000
19th April 2016, 06:30
Hello , i edited my callbacksetup , all of it ! i got a callbacksetup from a friend everything is fine .. when i start my server and join game , i test commands like !ban or something .. nothing happens. no command work :S can you suggest me what i do ?

IzNoGoD
19th April 2016, 07:20
debug it.
10char

suck000
19th April 2016, 11:36
how ? what i gotta 2 write ?

Ni3ls
19th April 2016, 11:41
add to all your files


I stop with scripting


that will fix it

suck000
19th April 2016, 11:42
Calma nik omek el 9a7ba... So funny :3 Am talking to the good people that they want to help .. u are just making fun of me because i don't have a good knowledge on scripting :3

Ni3ls
19th April 2016, 12:01
i don't have a good knowledge on scripting

This exactly. You don't try anything yourself. Read the book Whiskas send you, look at standard cod2 scripts, watch tutorials

suck000
19th April 2016, 12:02
Just help me by telling me how to debug it . please //

kung foo man
19th April 2016, 12:23
Use printf from libcod e.g.:



printf("Debug variables: foo=% bar=% baz=%\n", foo, bar, baz);
printf("Debug variables: args=%\n", args);
printf("Debug variables: args[0]=%\n", args[0]);

IzNoGoD
19th April 2016, 13:38
This is EXACTLY like one of your previous threads:
https://killtube.org/showthread.php?2550-CodeCallback_PlayerCommand%28args%29-does-not-work

suck000
19th April 2016, 14:24
This is my callbacksetup (sorry whiskas :S i found it on pastebin i swear x( ) I'll put your name in credits for your mod.
SORRY WHISKAS :'( (http://pastebin.com/Kfd3WWsP)
I could not put the file here because it has more than 30k .

IzNoGoD
19th April 2016, 14:40
I am available to fix it for you. Just pay me 15 euro/hour. Bumped to 20 euro/hour if I need to teach you how to script.

Minimum commitment for 3 hours at a time.




All joking aside, this is the 15th thread you opened asking for help in just over a month time. If you need to open a new thread asking for help every 2 days (average), then maybe scripting is not for you.

Of these threads, you have not provided sufficient debugging information in the following of them:
https://killtube.org/showthread.php?2553-Crash-in-map-vote-script
https://killtube.org/showthread.php?2557-This-is-weired
https://killtube.org/showthread.php?2594-AdminIcon%28%29-Problem
https://killtube.org/showthread.php?2595-I-want-rcon-status-showing-in-console
https://killtube.org/showthread.php?2550-CodeCallback_PlayerCommand%28args%29-does-not-work
https://killtube.org/showthread.php?2599-Kill%28%29-thread-to-a-case-quot-kill-quot In this one you promised to not ask for scripts ever again.
https://killtube.org/showthread.php?2604-_callbacksetup-isin-t-working-!-! <<--- current thread

In the following threads you have asked people to write the scripts for you:
https://killtube.org/showthread.php?2555-iPrintBold-or-sayallcenter
https://killtube.org/showthread.php?2597-How-to-MySQL-COD2
https://killtube.org/showthread.php?2601-What-can-i-do-with-MySQL-Now-D
https://killtube.org/showthread.php?2562-2-scripts-one-file

In the following threads you have not provided a proper title:
https://killtube.org/showthread.php?2547-NEED-HELP-AM-NOOB-p
https://killtube.org/showthread.php?2548-HELPPPPPPPPPP

In the following threads the answer was given, but not read by you:
https://killtube.org/showthread.php?2602-Setup-std-files
https://killtube.org/showthread.php?2594-AdminIcon%28%29-Problem

In about half of your threads you bumped your own thread within a day:
https://killtube.org/showthread.php?2548-HELPPPPPPPPPP (1 hour)
https://killtube.org/showthread.php?2550-CodeCallback_PlayerCommand%28args%29-does-not-work (3 minutes, then 7 minutes, accusing people of "never answering again"), then 1 minute, then 1 minute again, then 1 hour)
https://killtube.org/showthread.php?2557-This-is-weired (Bumping after 10h with "i have a different problem now")
https://killtube.org/showthread.php?2562-2-scripts-one-file (13 minutes, 13 minutes again, 4 hours)
https://killtube.org/showthread.php?2595-I-want-rcon-status-showing-in-console (10 minutes, 1 hour (with "i know this is offtopic but can you help me with [something unrelated]), 2 hours)
https://killtube.org/showthread.php?2597-How-to-MySQL-COD2 (50 minutes, 30 minutes, 20 minutes, 4 minutes (informing the readers of another thread you started, causing that one to sink...))
https://killtube.org/showthread.php?2601-What-can-i-do-with-MySQL-Now-D (11 minutes, 3:30hours)
https://killtube.org/showthread.php?2602-Setup-std-files (45 minutes)


I personally am VERY tired of you and your attitude. I must confess that I have not always been nice to you, but then again, you dont pay me to be nice. You dont pay me at all actually.

You have been told on numerous occasions to stop scripting. So here is another plea to that: Please stop scripting.

suck000
19th April 2016, 16:29
I personally got to say that am a piece of shit , bumper , never knew a single thing about scripting but all your helps there , were useful ! I learner lot of thing like using case switchment .. and i made two nice scripts that are awsome !
But i know i must follow the quote that says : "Don't give me a fish , but learn me how to fish" , but am trying .. i learned lot of things since i came to this forum.
Please ; i know am shitty guy that don't know how to script but cmon , i learn from my mistakes , i made lot here but am trying to fix myself. Please , just help me on this one , i swear ∞ times that i won't bump again. Just please , last time. i promise , real men keep their word.

IzNoGoD
19th April 2016, 16:50
So far you have yet again provided zero information regarding the setup you're running.

Whiskas
19th April 2016, 17:28
This is my callbacksetup (sorry whiskas :S i found it on pastebin i swear x( ) I'll put your name in credits for your mod.
SORRY WHISKAS :'( (http://pastebin.com/Kfd3WWsP)
I could not put the file here because it has more than 30k .

I am not only author of this code. There are many things which I found on killtube..

I should stop posting code on pastebin xD.

Hope someone will find something usefull in it. If anything is bugged, it's not my fault..

Whisky

serthy
19th April 2016, 21:13
Use printf from libcod e.g.:



printf("Debug variables: foo=% bar=% baz=%\n", foo, bar, baz);
printf("Debug variables: args=%\n", args);
printf("Debug variables: args[0]=%\n", args[0]);


oh ohhhh...

1095