SA-MP Forums Archive
Menu = Crash - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Menu = Crash (/showthread.php?tid=145653)

Pages: 1 2


Menu = Crash - Mike Garber - 03.05.2010

Hi!
I've got a problem with my server.
Whenever I try to bring up a menu the server crashes.
The menu does not appear. Server crashes and restarts.

I have not changed anything in the menus, they are working on my other server.
Anyone had this problem before and can help me to solve It?

I've tried with different menus, and It crashes the server. As I said, they SHOULD work, there's NOTHING wrong with the code, because It's working fine on another server. It's also the same script, same as in same gamemode.
Nothing is changed in any menus or anything related to the menus either.

Server is running 0.3a R7.


Re: Menu = Crash - Mike Garber - 03.05.2010

Whoever moved this thread, It's not SCRIPTING, since I know 100% that this is NOT a scripting issue.
It works FINE on my other server, there's nothing WRONG with the script.

There's nothing I can change to fix It, because there's no errors, there's nothing wrong.
I haven't changed anything, It stops working on another server....


Re: Menu = Crash - Torran - 03.05.2010

Quote:
Originally Posted by mavtias
It's not SCRIPTING
Technically it is as a Menu is a script


Re: Menu = Crash - Steven82 - 03.05.2010

Quote:
Originally Posted by Joe Torran C
Quote:
Originally Posted by mavtias
It's not SCRIPTING
Technically it is as a Menu is a script
He is right.


Re: Menu = Crash - Mike Garber - 03.05.2010

Quote:
Originally Posted by Steven82
Quote:
Originally Posted by Joe Torran C
Quote:
Originally Posted by mavtias
It's not SCRIPTING
Technically it is as a Menu is a script
He is right.
It can't be the script since It's working, It's been working, I haven't changed anything.
So technically what would It be If It's working and when I don't change anything It stops working?


Re: Menu = Crash - Killa_ - 03.05.2010

Quote:
Originally Posted by mavtias
Quote:
Originally Posted by Steven82
Quote:
Originally Posted by Joe Torran C
Quote:
Originally Posted by mavtias
It's not SCRIPTING
Technically it is as a Menu is a script
He is right.
It can't be the script since It's working, It's been working, I haven't changed anything.
So technically what would It be If It's working and when I don't change anything It stops working?
Bad scripting?


Re: Menu = Crash - Steven82 - 03.05.2010

No matter what it is it is in the script. I don't think it want to cooperate with your script but it will with the other.


Re: Menu = Crash - Mike Garber - 03.05.2010

Quote:
Originally Posted by Steven82
No matter what it is it is in the script. I don't think it want to cooperate with your script but it will with the other.
Dude It's the same... Exact same script...


Re: Menu = Crash - Killa_ - 03.05.2010

Quote:
Originally Posted by mavtias
Quote:
Originally Posted by Steven82
No matter what it is it is in the script. I don't think it want to cooperate with your script but it will with the other.
Dude It's the same... Exact same script...
Show us some code...


Re: Menu = Crash - Mike Garber - 03.05.2010

Quote:
Originally Posted by Killa_
Quote:
Originally Posted by mavtias
Quote:
Originally Posted by Steven82
No matter what it is it is in the script. I don't think it want to cooperate with your script but it will with the other.
Dude It's the same... Exact same script...
Show us some code...
You'd like that eh?

It's not a code problem, It crashes me with ANY menu, and there's alot of menus.
It does not call any scriptfile that doesn't exist.
There's no reason for It to crash...


It's a simple menu, It doesn't even bring up the menu. The command does nothing but;
SohwMenuForPlayer
AddMenuItem
TogglePlayerControllable

It does nothing before you click anything...


Re: Menu = Crash - Rac3r - 07.05.2010

Quote:
Originally Posted by Rac3r
Show us your code creation of the menu and possibly parts of selected row callback.



Re: Menu = Crash - Mike Garber - 07.05.2010

I don't have the gamemode avaliable (not at home),
but It's done EXACTLY like It should be done;

https://sampwiki.blast.hk/wiki/CreateMenu
https://sampwiki.blast.hk/wiki/AddMenuItem
https://sampwiki.blast.hk/wiki/OnPlayerSelectedMenuRow


Re: Menu = Crash - luigifan9 - 07.05.2010

Quote:
Originally Posted by mavtias
Quote:
Originally Posted by luigifan9
SHOW THE CODE!
WHAT CODE!


I'm not gonna show the whole fucking gamemode...
We are not going to steal your gamemode. There are enoguh RealLife servers to give every man in the american army one. We just want to help you.


Re: Menu = Crash - Mike Garber - 07.05.2010

Quote:
Originally Posted by luigifan9
We are not going to steal your gamemode. There are enoguh RealLife servers to give every man in the american army one. We just want to help you.
I don't think you understand what gamemode we are using.

- 1. I'm not allowed to show this gamemode, send It, or post it anywhere.
- 2. I don't WANT to do that either.
- 3. If you see It, you ARE GOING TO TAKE IT. I promise. Might sound stupid, but I know.
- 4. This gamemode is unique to ANY (ANY<---) other script out there, NOONE HAVE DONE ANYTHING LIKE THIS, EVER.

- 5. There's no way I will show the whole gamemode. Never. Ever.
- 6. I don't wanna post 45k lines in a post just to get help why an AddStaticVehicle line can crash the server when opening a menu.


Please, try to understand my situation. I can't show It, I don't want to show It, and If not you, I know plenty of people that WILL take It If I do. Because they know, If you don't, how advanced and unique this script Is.



Re: Menu = Crash - luigifan9 - 07.05.2010

Quote:
Originally Posted by mavtias
Quote:
Originally Posted by luigifan9
We are not going to steal your gamemode. There are enoguh RealLife servers to give every man in the american army one. We just want to help you.
I don't think you understand what gamemode we are using.

- 1. I'm not allowed to show this gamemode, send It, or post it anywhere.
- 2. I don't WANT to do that either.
- 3. If you see It, you ARE GOING TO TAKE IT. I promise. Might sound stupid, but I know.
- 4. This gamemode is unique to ANY (ANY<---) other script out there, NOONE HAVE DONE ANYTHING LIKE THIS, EVER.

- 5. There's no way I will show the whole gamemode. Never. Ever.
- 6. I don't wanna post 45k lines in a post just to get help why an AddStaticVehicle line can crash the server when opening a menu.


Please, try to understand my situation. I can't show It, I don't want to show It, and If not you, I know plenty of people that WILL take It If I do. Because they know, If you don't, how advanced and unique this script Is.
Well now i kinda understand your position, Sorry for yelling . So maybe put those parts in a filterscript(s) and load unload the Filterscript(s). all I can think of


Re: Menu = Crash - Mike Garber - 07.05.2010

Yeah, well. I have ragequit a few times on this script, because this seems to be a complete unknown problem that noone has had before :/

However, as soon as I get home, I'll try to do this one more time.
I got contact with the author, but he's removed all his SA stuff so he cannot try to fix It, only thing he
can do Is try to understand If I did something wrong.

Thank you for understanding


Re: Menu = Crash - Steven82 - 07.05.2010

Quote:
Originally Posted by mavtias
Yeah, well. I have ragequit a few times on this script, because this seems to be a complete unknown problem that noone has had before :/

However, as soon as I get home, I'll try to do this one more time.
I got contact with the author, but he's removed all his SA stuff so he cannot try to fix It, only thing he
can do Is try to understand If I did something wrong.

Thank you for understanding
You do that and close this thread seem's like no one form GPM can script.


Re: Menu = Crash - rbN. - 07.05.2010

Quote:
Originally Posted by Etch ❽ H
Show us the stupid code!!!



Re: Menu = Crash - Goobiiify - 07.05.2010

Quote:
Originally Posted by mavtias
Quote:
Originally Posted by luigifan9
SHOW THE CODE!
WHAT CODE!


I'm not gonna show the whole fucking gamemode...
GOD, The code you made!!!!!! The whole Menu script.. !!!



Re: Menu = Crash - Mike Garber - 07.05.2010

Quote:
Originally Posted by Steven82
Quote:
Originally Posted by mavtias
Yeah, well. I have ragequit a few times on this script, because this seems to be a complete unknown problem that noone has had before :/

However, as soon as I get home, I'll try to do this one more time.
I got contact with the author, but he's removed all his SA stuff so he cannot try to fix It, only thing he
can do Is try to understand If I did something wrong.

Thank you for understanding
You do that and close this thread seem's like no one form GPM can script.
I can script. This is a odd problem which should not happen, because It makes no sense.
Why the fuck do you think I'm asking for help for?

And Noone from GPM? Dude, do you think we pass around this script like a fucking candy bar?