• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Gamemode is not detected
#1
Sorry for my English



I am learning Pawno however I have had a few problems when starting my server, one of those is this:



[Image: unknown.png?width=919&height=480]



I was googling this error however I did not find a concrete solution, here I leave you my gamemode and my files in case someone has the solution, I would appreciate it very much



My server.cfg

Code:
echo Executing Server Config... lanmode 0 rcon_password asd maxplayers 50 port 7777 hostname SA-MP 0.3 Server gamemode0 bare plugins pawncmd streamer query 1 chatlogging 0 weburl www.sa-mp.com onfoot_rate 40 incar_rate 40 weapon_rate 40 stream_distance 300.0 stream_rate 1000 maxnpc 0 logtimeformat [%H:%M:%S] language English



My gamemode

https://pastebin.com/2yqDMZ5L



My plugins folder:

[Image: unknown.png]
  Reply
#2
Add this to your script.



Code:
main() { }
  Reply
#3
(2021-06-22, 08:28 AM)Radical Wrote: Add this to your script.



Code:
main() { }

That would cause a "invalid entry point" runtime error.



"File or function not found" is exactly what it sounds like. A file or a function isn't found.

You can use crashdetect to find out what function it's missing. However, I took a quick look on that script and:

Code:
native WP_Hash(buffer[], len, const str[]);

Whirlpool isn't included (plugin), so this is causing your issue. If the problem still exists after adding Whirlpool, you're missing another function in which case you can use crashdetect (and compile with option -d3)
  Reply