[Tutorial] Up or downgrading your server version
#1

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:
  • filterscripts\
  • gamemodes\
  • include\
  • npcmodes\
  • pawno\
    • include\
  • plugins\
  • scriptfiles\
  • server.cfg
  • samp-license.txt*
  • server-readme.txt*
  • announce.exe
  • samp-npc.exe
  • samp-server.exe
*you still might want to keep these files as they may come in handy sometime.

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
Reply
#2

Looking nice (:
Reply
#3

thanks james
Reply
#4

nice job
Reply
#5

https://sampforum.blast.hk/showthread.php?tid=199379..
Reply
#6

Quote:
Originally Posted by -Luis
Посмотреть сообщение
https://sampforum.blast.hk/showthread.php?tid=279678&langid=6
https://sampforum.blast.hk/showthread.php?tid=195705&langid=6
https://sampforum.blast.hk/showthread.php?tid=195701&langid=6
https://sampforum.blast.hk/showthread.php?tid=193350&langid=6
They are all the same, so what? If the one is better then the other one; just be thankful. Some ppl might didnt get it form the tutorial you posted, but got it with this tutorial.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)