Coder Social home page Coder Social logo

fcnpc's People

Contributors

zeelorenc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

abagail

fcnpc's Issues

Incorrect kill address

This kill player address is correct.
FUNC_CPlayer__Kill = 0x480E10;

It should be.
0x480F80

Linux 1000 players

Does anyone have an idea on what should be changed so the plugin would work on a 1000 player linux server ? (version 0.3z-RC4) I want only a maximum of 50 npcs that mostly idle, but we are aiming for 500-700 players online.

The code succesfully compiles on a 32bit CentOS 6.4 virtual server but segfaults when starting a server with FCNPC.so at plugins.

I suppose :

  1. #define MAX_PLAYERS 500 -> 1000
  2. Address.cpp might have something to do with this
  3. The SDK is a bit old (but I haven't seen something that could compromise the plugin), however i swapped the current SDK with the newest, recompiled and the server didn't segfault on 1000 players. Also the plugin loads without errors but the functions used in FCNPC.inc are not recognized.
    Also if I replace the samp03svr with the 500 player version of 0.3z-RC4 and run with the recompiled plugin with the latest SDK I can spawn npcs without any problem.
    However after hitting an npc with a car : samp03svr: amx/amx.c:1300: amx_GetPublic: Assertion `hdr->magic==0xf1e0' failed.
    Aborted

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.