Jump to content
Sign in to follow this  
Guest RockStar

Crashdetect Plugin

Recommended Posts

Guest RockStar

Acest Plugin a fost creat de 0x5A656578 si ajuta la depistarea crashurilor in gamemode pentru Windows si Linux.

Topicul Original.

Exemplu:

#include <a_samp>

main() {

    function1();

}

function1() {

    function2();

}

function2() {

    new buf[10];

    fread(File:123, buf);

}

Cand va ajunge la "function2" serverul se va inchide automat iar daca folosesti windows iti va da un cod necitabil in crashinfo.txt.

Cu crashdetect vei vedea urmatorul lucru in serverlog:

[12:23:12] Crash caused by fread at address 00000090 (gamemodes\test.amx)
Fiind mai informativ, iti vei da seama de unde a aparut crashul si vei putea remedia eroarea de cod. Ce este mult mai interesant de vazut este modul in care acesta functioneaza...doar compileaza scriptul acela folosind informatii simbolice si vei gasi asta:
[12:20:55] Crash caused by fread on line 13 in test.pwn (gamemodes\test.amx)
[12:20:55] Stack trace of gamemodes\test.amx (most recent call first):
[12:20:55]   function2 on line 8 in test.pwn
[12:20:55]   function1 on line 4 in test.pwn
[12:20:55]   main (entry point)

Acum vedem ce sa intamplat.

Download

Share this post


Link to post
Share on other sites

stuntman-=!!" post="80424" timestamp="1309188202"]

Asta este un plugin revolutionar xD

mda stuntman are dreptate...foarte foarte folositor...pentru cei ce nu stiu dc nu ii porneste sv...

Share this post


Link to post
Share on other sites

This application has failed to start because MSVCP100.dll was not found. Re-installing the application may fix this problem.

Primesc urmatoarea idee, any ideas?

Share this post


Link to post
Share on other sites
Guest farse

www.lmgtfy.com/?q=MSVCP100-dll

http://www.dll-files.com/dllindex/dll-files.shtml?msvcp100

Il pui in Windows

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

This site uses cookies. By continuing browsing, you agree to the use of this information. For more details, see Terms of Use and Privacy Policy.