MySQL connects, then samp-server.exe disappears?
#1

Well, this is my samp-server.exe log:

Code:
SA-MP Dedicated Server
----------------------
v0.3a R8, ©2005-2010 SA-MP Team

[23:55:40] filterscripts = ""  (string)
[23:55:40] 
[23:55:40] Server Plugins
[23:55:40] --------------
[23:55:40]  Loading plugin: sampmysql
[23:55:40] 
/*************************************************/
/* SAMP-MySQL v0.15 Plugin loaded successfully ! */
/*************************************************/

[23:55:40]   Loaded.
[23:55:40]  Loaded 1 plugins.

[23:55:40] 
[23:55:40] Filter Scripts
[23:55:40] ---------------
[23:55:40]   Loaded 0 filter scripts.

[23:55:40] MYSQL: Attempting to connect to server...
[23:55:41] 
Connection to MySQL database: Successfull !
[23:55:43] MYSQL: Database connection established.
Then it disappears, and this comes up:



Details of the error:

Code:
Problem Event Name:	APPCRASH
  Application Name:	samp-server.exe
  Application Version:	0.3.0.0
  Application Timestamp:	4c206a05
  Fault Module Name:	ntdll.dll
  Fault Module Version:	6.1.7600.16559
  Fault Module Timestamp:	4ba9b21e
  Exception Code:	c0000005
  Exception Offset:	000530a5
  OS Version:	6.1.7600.2.0.0.256.1
  Locale ID:	1033
  Additional Information 1:	0a9e
  Additional Information 2:	0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:	0a9e
  Additional Information 4:	0a9e372d3b4ad19135b953a78882e789
If anyone can help, I would really appreciate it

Thanks!!
Reply
#2

Hope this helps:

http://www.vistax64.com/vista-genera...ntdll-dll.html
Reply
#3

Switch MySQL plugins. The one you're using is known to be unstable.
Reply
#4

It doesn't necessarily have to be the plugin. I know people have been reporting issues with the plugin and yes I also know its easier to switch plugins but it says the Fault Module is ntdll and people have reported such crashes before and it meant that the NT Kernel Lab is damaged which is essential for windows, so if I were you(poster) I would really run a check on that at least.
Reply
#5

@Extremo Thanks alot for that link, will check it out in a sec

@Carlton how would I switch? I have another one, v1.21 or something. Sorry I don't remember the name. But how would I switch? I tried and it creates errors while compiling.
Reply
#6

Quote:
Originally Posted by homerun621
View Post
But how would I switch?
By using a different mysql plugin for the same purpose. It may involve rewriting certain segments of your script though.
Reply
#7

You'll have to check out the Plugin Section(here) of sa-mp.

There you choose one of the mysql plugins and check out its functions. You wont find much similar, as for example your "samp_mysql_strtok" doesn't exist in other plugins. What I am trying to say is, that MANY segments of your script have to be adjusted to the new plugins functions. So after you have re-scripted everything that is necessary to make your script function with the new plugin, you'll face no further issues.

Hope I made it more clear. If not, ask!

Regards,
Extremo.
Reply
#8

I have this one too.
But I'm REALLY new to PAWN, and have no idea what to re-write.

Sorry for really being a pest.

-Anthony

P.S. Extremo, I did that System scan, and it said that it found corrupted files and fixed them, so I restarted and got the same error
Reply
#9

Well,

At least it fixed some of your corrupted files

Back to the plugin and the actual problem. So you have no experience at all using pawn, that's fine, we can work this out slowly. First off all, I would like to know if your script is downloaded from somewhere here and if it is, which one exactly it is. This would make it a lot easier for me to assist you. Once you've told me which one it is, I want you(if its just a downloaded script) to ask anybody here(or I'll do it myself) to test the script on their computer. If it works for anyone else, then we already identified the problem being you and not the script.

Once you are done with those steps mentioned above, we can figure how to proceed to Step 2.

Regards,
Extremo.
Reply
#10

Thanks for answering back, you can check my post above yours and click on "this one too" as that's the other one.

-Anthony

EDIT: Are you asking for the gamemode I'm using?
Reply
#11

I was having to same problem awhile back and change the plugin to one from g-styles and it corrected the problem.
Reply
#12

Yes,

I need to know your gamemode in order to help you :P

Regards,
Extremo.
Reply
#13

Not for me..
I just tried changing it, and it worked, until I ran samp-server.exe
It disappeared again, but this time there was no error afterward.
It stayed up maybe 2 seconds, then disappeared.

-Anthony
Reply
#14

@Extremo: I JUST saw your post.
My gamemode is CityWide RolePlay

-Anthony
Reply
#15

Could you upload a compiled version of it? I am missing some includes. Then I'll test it on my PC and give you feedback how it works and if it works.
Reply
#16

Here you go with the pre-compiled server files

-Anthony
Reply
#17

Right,

I tested the gamemode and it works fine . I can start it properly etc, didn't join the game tho. So the problem must be on your side. Are you sure you have the plugins folder in your sa-mp server directory? Are you sure you have "plugins sampmysql" in your server.cfg?

Do you have libmysql.dll in your MAIN sa-mp server directory?

If you do have all of the above, then the problem must be something related to the plugin maybe. Did you download the latest plugin?
You can find it here: PLUGIN

If that's not the case, there must be something that's not properly setup at your PC. Sadly, I cannot assist you more then that, as my knowledge further is limited. All I can tell you is that installing .NET framework etc might assist you with your problem, if its already installed - re-install it.

You should also, depending on your OS, upgrade your service package.

Further more I can only suggest you to find a good forum with people that know windows like their pocket, I am sure they can assist you way better as I use linux

Regards,
Extremo.
Reply
#18

do you have %s and not explaining what is it because if you dont have what is %s like for a name %s means close the samp-mp.exe
Reply
#19

@Extremo: Still happens, and I'm really on the verge of giving up..

@FireCat: I can't understand that..

-Anthony
Reply
#20

Quote:
Originally Posted by homerun621
View Post
@Extremo: Still happens, and I'm really on the verge of giving up..
Than likely a problem in your scripting, If the normal script itself works fine for him with recommended plugin than its either a problem on your side or a problem in your scripting.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)