Giter Club home page Giter Club logo

Comments (14)

Zeex avatar Zeex commented on June 18, 2024

Which version are you using?

from samp-plugin-crashdetect.

zoransalamun avatar zoransalamun commented on June 18, 2024

Latest version, i downloaded yesterday crashdetect-4.10-linux.tar.gz and tested... this problem happend before also, and my gamemode is to bih to rewrap lines with notepad++, i need days for do that...

I tested lvdm few hours ago, and when i have more than 65and something thousands lines, crashdetect plugin wont print line in gamemode...

from samp-plugin-crashdetect.

zoransalamun avatar zoransalamun commented on June 18, 2024

I have new information, i think that problem with line numbers is only with linux version. On windows server even wont crash on wrong array index, on linux is same only if number of gamemode lines is under 65535 lines

Can that be fixed? Or i must reduce line numbers in gamemode?

from samp-plugin-crashdetect.

Zeex avatar Zeex commented on June 18, 2024

There's a patch for the pawn compiler here: https://github.com/Zeex/pawn-3.2.3664_patches/tree/master/not_samp_compatible (actually in two files) that fixes that limitation but you'll have to re-compile crashdetect as well (with the new header) to make it work.

from samp-plugin-crashdetect.

zoransalamun avatar zoransalamun commented on June 18, 2024

Ok, thanks, i will test it today

from samp-plugin-crashdetect.

zoransalamun avatar zoransalamun commented on June 18, 2024

"but you'll have to re-compile crashdetect as well (with the new header) to make it work." - can you tell me how to compile crashdetect plugin with new header? what i must change frow original source and how?

from samp-plugin-crashdetect.

Zeex avatar Zeex commented on June 18, 2024

If you already patched the compiler then you just copy the new amxdbg.h from pawn/source/amx/ to crashdetect/amx/ and build crashdetect

from samp-plugin-crashdetect.

zoransalamun avatar zoransalamun commented on June 18, 2024

Ok, i have downloaded new patched compiler from link(Pre-compiled binaries): https://github.com/Zeex/pawn-3.2.3664_patches

Now where can i find new amxdbg.h to recompile crashdetect plugin?

from samp-plugin-crashdetect.

Zeex avatar Zeex commented on June 18, 2024

Those binaries contain only SA-MP compatible patches, so you have to patch it yourself adding the patches from not_samp_compatible/ (just use apply_all.sh instead of apply_compatible.sh)

from samp-plugin-crashdetect.

zoransalamun avatar zoransalamun commented on June 18, 2024

Ok, i have try, but its not working. Can you tell me did i do something wrong:
1.) I have follow Build Instructions on this link: https://github.com/Zeex/pawn-3.2.3664_patches
- And compile with apply_all-sh
2.) Downloaded crashdetect master
3.) Replaced amxdbg.h in crashdetect/amx/ width amxdbg.h from pawn patches
4.) Compile crashdetect plugin i got crashdetect.so
5.) Placed in plugins folder
6.) Recompile samp gamemode with new pawncc

And everything is the same, its not showing information about crash.

I have try -d2, -d3 flags, nothing, its still problem with number of lines in gamemode...
Tested on Ubuntu and Centos.

Do you have solution? Did you tested any gamemode with more than 65535 lines?

from samp-plugin-crashdetect.

Zeex avatar Zeex commented on June 18, 2024

Hontestly I've never tested a gamemode with more than 65k lines with that compiler but I'm sure it should work.

Are you sure all the patches have been applied? I've just found a minor mistake in that script that was preventing the not_samp_compatible patches from being applied (seems like I forgot to test in combination with apply_all.sh).

Anyway, I'm going to build the compiler with those patches and upload new binaries today, stay tuned.

from samp-plugin-crashdetect.

Zeex avatar Zeex commented on June 18, 2024

Here you go:

https://github.com/Zeex/pawn-3.2.3664_patches/raw/downloads/pawncc-windows-all.zip
https://github.com/Zeex/pawn-3.2.3664_patches/raw/downloads/pawncc-linux-all.tar.gz

The patched amxdbg.h is here:

https://gist.github.com/Zeex/5128070

CrashDetect:

https://dl.dropbox.com/u/26413047/crashdetect-4.10-win32.zip

from samp-plugin-crashdetect.

zoransalamun avatar zoransalamun commented on June 18, 2024

Thanks, i will test later on centos and ubuntu with compiling crashdetect plugin with new amxdbg.h.

from samp-plugin-crashdetect.

zoransalamun avatar zoransalamun commented on June 18, 2024

Thanks Zeex, i have recompiled plugin for ubuntu and everything is working fine.

from samp-plugin-crashdetect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.