AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Snippets and Tutorials (https://forums.alliedmods.net/forumdisplay.php?f=112)
-   -   [Any] Surf Server Utility (https://forums.alliedmods.net/showthread.php?t=281327)

CookieB 04-08-2016 19:48

[Any] Surf Server Utility
 
So this is kind of a special application,

It is a ruby script to add all your models to your store, I will add some more generic functionality but it is the work of today.

It will pack your maps to bz2, unpack your maps in case you have some differences.

It will scan your database and model / material folders and add it in as store items.

Have to add store lookups for categories sometime tomorrow.

As much as it is it is handy if you can write a little bit ruby

Edit: I forgot to mention, It can print UMC Mapcycle as well, reads data from local ckSurf database

It also prints the maplist.txt and mapcycle.txt

http://pastebin.com/XTpf09pE

TheWho 04-09-2016 19:51

Re: [Any] Surf Server Utility
 
Nice that you share this!
Ruby on fire

CookieB 04-10-2016 13:25

Re: [Any] Surf Server Utility
 
Here is a more useable version which actually queries the category for store items.

It's a pretty nice to have if you compare it to the old item adding methods...

I forgot to mention but it will find and add arms to the models they belong, uses naming scheme.
Just name your arms like this: model.mdl model_arms.mdl

It will also tell you if you have arms it couldn't match

use ruby file.rb --help to see how to use it.

https://github.com/ckbkr/scripts/blo...minCSGOServ.rb


All times are GMT -4. The time now is 18:56.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.