Menu = Crash
#1

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.
Reply
#2

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....
Reply
#3

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

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.
Reply
#5

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?
Reply
#6

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?
Reply
#7

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.
Reply
#8

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...
Reply
#9

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...
Reply
#10

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...
Reply
#11

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

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
Reply
#13

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.
Reply
#14

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.
Reply
#15

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
Reply
#16

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
Reply
#17

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.
Reply
#18

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

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.. !!!
Reply
#20

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?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)