Pawno crash
#1

I downloaded this script, GTA RLRP - Berky Brada's 2012 RP server, felt somewhat homesick since it was the first server I ever actually joined on SAMP and was in love with the script. Despite it's "simplicity" compared to other scripts being used right now.
Anyway, let's get into the problem.

This script wasn't all in one piece when I downloaded it. It had a
pawn Код:
#include <server_defines>
#include <server_forwards>
You might have an idea what I am talking about now. It used to crash almost instantly as soon as I press that F5.

I managed to get all forwards/some missing functions/most defines (I believe?) in one place. It takes a solid 15-20 seconds before it shows that crash message.

I'd like to know if you guys got any clue how to prevent pawno from crashing and display it's errors? Or if any code analyzer programs for pawn you know of?
I tried using Notepad++ with pawn but same results, crashes.
Reply
#2

You have a_samp included? and core? if u need it.

Although are u sure that these two includes are inside the "pawno/include" folder? not in a folder inside that folder.
Reply
#3

Are you sure the braces are matched up, and you haven't got any code that's misplaced as such?

And how did you copy the pawno folder/includes over?
Reply
#4

Get Notepad++, pawno is bad.
Reply
#5

I started looking for functions that aren't in the normal includes of samp, like timers for example, that need to be forwarded.

As for the defines, I got colors, server misc (max veh/house/etc..).

All files are included in the correct way.

Anyway, if someone wants to help with fixing the gamemode PM me on here I'll give you the .pwn with the defines/forwards I got so far.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)