Raised This Month: $51 Target: $400
 12% 

[Any] Surf Server Utility


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CookieB
Member
Join Date: Apr 2016
Location: Germany
Old 04-08-2016 , 19:48   [Any] Surf Server Utility
Reply With Quote #1

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

Last edited by CookieB; 04-08-2016 at 21:18.
CookieB is offline
TheWho
AlliedModders Donor
Join Date: Jul 2012
Old 04-09-2016 , 19:51   Re: [Any] Surf Server Utility
Reply With Quote #2

Nice that you share this!
Ruby on fire
TheWho is offline
CookieB
Member
Join Date: Apr 2016
Location: Germany
Old 04-10-2016 , 13:25   Re: [Any] Surf Server Utility
Reply With Quote #3

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

Last edited by CookieB; 04-10-2016 at 13:34.
CookieB is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:48.


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