19.11.2011, 19:26
Foreword
Hello sa-mp community. When i first started to make a server, i had downloaded a RC-version, and as Release Candidates tend to do, they update. My first time upgrading was a struggle, and i hope that with this tutorial, your's won't be one. I was inspired to write a tutorial about this subject because i saw another one, but it was so short and unclear, i thought by myself: "i can do that a LOT better". so here it is.
this tutorial assumes the following:
*you have the windows version of the server package
*you know your way around a computer
*the server dir in this tutorial is "C:\SAMP\"
Introduction
With each new version of the server package, and therefore the scripting package too, the way the server works is a bit changed. I will talk about each aspect separately. the current server package is always at the download page
Includes
in the standard server package you have the folder "\include\" that holds two includes for the standard Gamemode Grand larceny, this is not the conventional place for includes so if you don't use Grandlarc you could aswell throw the dir away. the conventional path to the includes is "\pawno\include\" thats the place where pawno looks for includes.
Plugins
(most) Plugins work with memory adresses, and as the samp-server.exe changes everytime there's an update, so do the memory addresses. so with the most plugins, the rule is: different version = plugin behaviour weird. there are ofcourse plugins that don't follow that rule.
File updating
the complete tree of the standard package looks like this:
when you update, the files in green MUST be updated, the ones in orange don't need to be updated, unless otherwise stated in the server release thread. or if you wish to do so.
the ones in red don't need updating at all. and the ones in blue might be left away entirely.
Afterword
I hope i was clear this tutorial, if you see any errors, typos, grammar fails or just want to give me constructive criticism, don't hesitate to reply, or PM me
cheers,
-Legodude
Hello sa-mp community. When i first started to make a server, i had downloaded a RC-version, and as Release Candidates tend to do, they update. My first time upgrading was a struggle, and i hope that with this tutorial, your's won't be one. I was inspired to write a tutorial about this subject because i saw another one, but it was so short and unclear, i thought by myself: "i can do that a LOT better". so here it is.
this tutorial assumes the following:
*you have the windows version of the server package
*you know your way around a computer
*the server dir in this tutorial is "C:\SAMP\"
Introduction
With each new version of the server package, and therefore the scripting package too, the way the server works is a bit changed. I will talk about each aspect separately. the current server package is always at the download page
Includes
in the standard server package you have the folder "\include\" that holds two includes for the standard Gamemode Grand larceny, this is not the conventional place for includes so if you don't use Grandlarc you could aswell throw the dir away. the conventional path to the includes is "\pawno\include\" thats the place where pawno looks for includes.
Plugins
(most) Plugins work with memory adresses, and as the samp-server.exe changes everytime there's an update, so do the memory addresses. so with the most plugins, the rule is: different version = plugin behaviour weird. there are ofcourse plugins that don't follow that rule.
File updating
the complete tree of the standard package looks like this:
- filterscripts\
- gamemodes\
- include\
- npcmodes\
- pawno\
- include\
- plugins\
- scriptfiles\
- server.cfg
- samp-license.txt*
- server-readme.txt*
- announce.exe
- samp-npc.exe
- samp-server.exe
when you update, the files in green MUST be updated, the ones in orange don't need to be updated, unless otherwise stated in the server release thread. or if you wish to do so.
the ones in red don't need updating at all. and the ones in blue might be left away entirely.
Afterword
I hope i was clear this tutorial, if you see any errors, typos, grammar fails or just want to give me constructive criticism, don't hesitate to reply, or PM me
cheers,
-Legodude