Re: Ingame NPC maker - my first release after long time :D - iLearner - 27.11.2016
Same here, i had knpc a while ago and it used to work fine, now i just re-downloaded it gives response to all other commands other then /knpc, everything is loaded.
Re: Ingame NPC maker - my first release after long time :D -
]Kurence[ - 27.11.2016
I just tested it and it works, do you have filemanager installed?
Re: Ingame NPC maker - my first release after long time :D - iLearner - 27.11.2016
Yep, using 1.5(latest)
I have:
all files in npcmodes.
compiled with filemanager.inc
have filemanager 1.5
didnt edit your .pwn
Quote:
--------------
Loading plugin: filemanager
******************
** FILE MANAGER **
** Loaded **
** Version 1.5 **
******************
|
Re: Ingame NPC maker - my first release after long time :D - iLearner - 27.11.2016
Edit: I wasnt loading it on startup, but with rcon. loading it on server startup fixed it... but npcs dont connect? i have maxnpc to 50
(i have a server npc and that connects fine)
Re: Ingame NPC maker - my first release after long time :D -
]Kurence[ - 27.11.2016
I have no idea why it doesn't work then, here is the setup i am using:
http://stalin.jecool.net/testserver.zip
Re: Ingame NPC maker - my first release after long time :D - iLearner - 27.11.2016
Btw, do we have permission to change the npc name? kurence....
(i managed to make it work)
Re: Ingame NPC maker - my first release after long time :D -
]Kurence[ - 27.11.2016
Yes, but it may be difficult for newbies (on purpose
![Cheesy](images/smilies/biggrin.png)
) since i am using split for processing these npc names
Re: Ingame NPC maker - my first release after long time :D - iLearner - 27.11.2016
You know, no one will use someone's name on a good running server... btw thats right years ago i had tried but failed, but now things changed
Notepad++ rocks man:
PHP код:
Line 64: if(IsPlayerNPC(i) && !strcmp("Kurence",fuckername,false,7))Kick(i);
Line 128: if(!strcmp("Kurence",strfuck,false,7))Kick(i);
Line 144: format(fuckername,sizeof(fuckername),"Kurence%d",strval(tmp));
Line 171: format(fuckernamelulz,sizeof(fuckernamelulz),"Kurence%d",pnpcid[playerid]);
Line 190: format(fuckernamelulz,sizeof(fuckernamelulz),"Kurence%d",pnpcid[playerid]);
Line 196: format(namelulzomg,sizeof(namelulzomg),"Kurence%d",pnpcid[playerid]);
Line 230: format(fuckername,sizeof(fuckername),"Kurence%d",strval(tmp));
Line 262: format(fuckername,sizeof(fuckername),"Kurence%d",strval(tmp));
Line 275: if(!strcmp("Kurence",strfuck,false,7)){
Line 299: format(fuckernamelulz,sizeof(fuckernamelulz),"Kurence%d",pnpcid[playerid]);
Line 310: if(!strcmp("Kurence",strfuck,false,7) && n00b==1 && IsPlayerNPC(playerid)){
Line 324: if(!strcmp("Kurence",strfuck,false,7)){
Line 346: format(fuckernamelulz,sizeof(fuckernamelulz),"Kurence%d",pnpcid[playerid]);
Line 352: format(namelulzomg,sizeof(namelulzomg),"Kurence%d",pnpcid[playerid]);
Re: Ingame NPC maker - my first release after long time :D -
]Kurence[ - 27.11.2016
Ok, I am glad that it works for you now, enjoy
Re: Ingame NPC maker - my first release after long time :D -
SwankyPants - 28.11.2016
Well done.
Have you considered MySql later on?
Re: Ingame NPC maker - my first release after long time :D -
]Kurence[ - 28.11.2016
Not needed, data is accessed only on init and when executing commands, no permanent timers, no one would notice the performance boost
Re: Ingame NPC maker - my first release after long time :D -
Mussy - 17.12.2016
Awesome work.
Re: Ingame NPC maker - my first release after long time :D -
]Kurence[ - 21.06.2017
I cant believe someone still uses this
Re: Ingame NPC maker - my first release after long time :D -
Politis - 15.02.2019
Sometimes works sometimes it doesn't.
Now, it never works.
Re: Ingame NPC maker - my first release after long time :D -
Proxus - 15.02.2019
Quote:
Originally Posted by Politis
Sometimes works sometimes it doesn't.
Now, it never works.
|
This was made in 2011, it is now 2019. Of course it isn't going to work after all this time and as SA-MP updates, things change and therefore, things become unusable.