View Single Post
  #3  
Old 11-14-2005, 06:57 PM
Malinko Malinko is offline
Unholy Nation
Join Date: Mar 2004
Location: Massachusetts, U.S.A.
Posts: 1,782
Malinko is on a distinguished road
Send a message via AIM to Malinko
Quote:
Originally Posted by prozac424242
While backing up levels, ganis and graphics on rc is easy
with the upload/download drag and drop window,
there is no easy way to back up your weapon npcs,
database npcs, or classes.
You have to go in and copy and paste all those snippets of code
into a text editor.

How about another RC button called "NPC Backup"
that does an sql retreival (if the npcs are stored in some kind of database on the server) and grabs the code of all your weapons, classes, and database npcs into three files in a folder that can be downloaded, as one would download a level.

For example, weapons.txt might look like this

HTML Code:
/////////////////////////////
//image : bomb.png
//name : Bomb

//#CLIENTSIDE
if actionOnWeaponfired()
  {
   //do bomb stuff with putnpc2 since putexplosion dosent work on a gmap;
  }

/////////////////////////////
//next npc here and so on
 
and you would have similar data in classes.txt and databasenpcs.txt

It would be a big time saver, especially on servers like mine where we have a ton of npcs.
This feature does exist!

rw npcs/* (DB NPCs)
rw weapons/* (NPCw)
rw scripts/* (Classes)

I'm 100% sure this feature is enabled for all playerworld, just add yourself the rights.

Edit: Of course, these rights should be given only to those with level 4 RCs, maybe only the Manager/Owner should have it. Just a little security note.
Reply With Quote