Archived copy of warcraft-source.com, the Warcraft: Source (WCS) forum (2007–2011), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2009-12-15 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
December 15, 2009, 02:24:13 AM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: WCS Tournament being opened for applications!

Post here for signups!
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1] 2   Go Down
  Print  
Author Topic: Re: Race Database Sorter (sorts races by required level)  (Read 642 times)
Penguinarmy357
Level 1 Trained Beginner
*
Offline Offline

United States United States

Posts: 35



« on: February 18, 2009, 12:18:39 AM »

Great idea but for some races it deletes some of the races and just puts the number, also i think people would really love it if it had spaces after each skill and after the skill_cfg.  But its a great idea and design i would love it =)
Logged
 
Seek
Level 1 Trained Beginner
*
Offline Offline

United States United States

Posts: 21




Seek
« Reply #1 on: February 18, 2009, 12:40:05 AM »

if you get empty races its because those races have been indented with tabs (represented as '\t') and aren't properly stripped at the moment. To fix this just simply go to the races that weren't copied correctly, highlight the entire race hit Shift+Tab a couple times and realign them! Smiley thats a bug to fix! Should be fixed in Version 1.0.0.2
« Last Edit: February 18, 2009, 01:11:00 AM by Seek » Logged

Penguinarmy357
Level 1 Trained Beginner
*
Offline Offline

United States United States

Posts: 35



« Reply #2 on: February 18, 2009, 12:58:31 AM »

Heres the version i used i tryed them all just for fun but this was the on that didn't work right
Logged
[Oddity]TeacherCreature
Moderator
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 1380



WWW
bonggged

myServer 72.5.102.44:27015
(Warning: click connects through Steam)
« Reply #3 on: February 23, 2009, 05:22:58 PM »

What exactly does this do? Just reorder your races? or does it actually interact with the user_db?
Logged

Rasmus
Trapped in between
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 1472




Rasmus4J
rasmus4j
« Reply #4 on: February 23, 2009, 07:37:53 PM »

I dont think this is doing what we/I really want, to sort the races in the es_WCSraces_db.txt by e.g. req_lvl.

when i have the time i'll try to make one.

if the above mentioned things work i will extend with a database sorter of some kind.
Logged

where would you put the comma in the following telegram from a wife, to her husband in the navy?
"Not getting any better hurry home!"
iLLuSion
Level 2 Apprentice
**
Offline Offline

Australia Australia

Posts: 48



« Reply #5 on: March 02, 2009, 09:45:51 AM »

Does this only sort the races in order? If so, wouldn't that mix up the levels of each race?
Logged
Maxxi
Level 7 Expert
*****
Offline Offline

Netherlands Netherlands

Posts: 1491



WWW
16maxpayne16

myServer 84.243.214.217:27015
(Warning: click connects through Steam)
« Reply #6 on: March 02, 2009, 09:47:48 AM »

Does this only sort the races in order? If so, wouldn't that mix up the levels of each race?
yes so u need a reset or if you start clean
Logged

iLLuSion
Level 2 Apprentice
**
Offline Offline

Australia Australia

Posts: 48



« Reply #7 on: March 02, 2009, 10:02:30 AM »

Well, then this isn't very useful.
« Last Edit: March 02, 2009, 10:06:49 AM by iLLuSion » Logged
Maxxi
Level 7 Expert
*****
Offline Offline

Netherlands Netherlands

Posts: 1491



WWW
16maxpayne16

myServer 84.243.214.217:27015
(Warning: click connects through Steam)
« Reply #8 on: March 02, 2009, 10:04:17 AM »

Well, then this isn't every useful.
it is Tongue but we are already looking into how we are gonna change the db order Tongue
Logged

Rasmus
Trapped in between
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 1472




Rasmus4J
rasmus4j
« Reply #9 on: March 07, 2009, 10:04:55 PM »

Well, then this isn't every useful.
it is Tongue but we are already looking into how we are gonna change the db order Tongue
this we might have found out by one simple line of coding Smiley
Logged

where would you put the comma in the following telegram from a wife, to her husband in the navy?
"Not getting any better hurry home!"
Rasmus
Trapped in between
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 1472




Rasmus4J
rasmus4j
« Reply #10 on: March 07, 2009, 11:00:57 PM »

Well, then this isn't every useful.
it is Tongue but we are already looking into how we are gonna change the db order Tongue
this we might have found out by one simple line of coding Smiley
shhh Smiley
don't worry piet, if it works it will be in the new version, but the line ain't shared Tongue
Logged

where would you put the comma in the following telegram from a wife, to her husband in the navy?
"Not getting any better hurry home!"
Stinkyfax
I <3 WCS
Level 7 Expert
*****
Offline Offline

United Kingdom

Posts: 1902



WWW
Xrushiov

myServer 84.55.62.45:27016
(Warning: click connects through Steam)
« Reply #11 on: March 10, 2009, 12:26:05 AM »

you really need somebody with brains.
You are trying to do:
1. Create program which sorts tree's objects by field "reqlevel"
2. Create program which compares old and new file and modify player's race id's.
Those 2 seems to take pretty much time
When i said brains i meant somebody who can think as problem solver:
Problem: Changerace menu displays races by order in file, rather than required level.
Solve: Make changelevel display menu by required level rather than race ID.
This would take ES coder ~15 min instead of weeks.
No need to thank me.
Logged



Rasmus
Trapped in between
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 1472




Rasmus4J
rasmus4j
« Reply #12 on: March 10, 2009, 02:42:12 PM »

stinky, we have it figured out,
i'll let you in to it since i'm a nice guy,

Code:
the races are one big keygroup, so we do:
es_keygroupsort WCSraces required_lvl numeric asc
es_keygroupsave bla bla
and we're done.
Logged

where would you put the comma in the following telegram from a wife, to her husband in the navy?
"Not getting any better hurry home!"
Stinkyfax
I <3 WCS
Level 7 Expert
*****
Offline Offline

United Kingdom

Posts: 1902



WWW
Xrushiov

myServer 84.55.62.45:27016
(Warning: click connects through Steam)
« Reply #13 on: March 10, 2009, 02:51:25 PM »

stinky, we have it figured out,
i'll let you in to it since i'm a nice guy,

Code:
the races are one big keygroup, so we do:
es_keygroupsort WCSraces required_lvl numeric asc
es_keygroupsave bla bla
and we're done.
So for what you need all of those programs?
Logged



Rasmus
Trapped in between
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 1472




Rasmus4J
rasmus4j
« Reply #14 on: March 10, 2009, 03:33:44 PM »

i have never said we needed all those programs. just this guy made it.
but before he uploaded this, i had already announced the "discovery" of the keygroupsort command, and one of the advantages of using my way is that it can be completely implementet into wcs mod itself, so that the conversion is done automatically, and also there's no need to download the racefile, and then use a program to sort them, this is done on the server.

but it will as said, be realeased with the new wcs.
Logged

where would you put the comma in the following telegram from a wife, to her husband in the navy?
"Not getting any better hurry home!"
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
December 14, 2009, 12:19:42 PM
he means that counterstrike.com purchased servers have a protection so you can't upload any .dll files, so you have to do what chuck or darkshadow said below
December 13, 2009, 11:09:03 AM
what do you mean with "not accepting the dll"?
December 12, 2009, 11:02:12 PM
liljoe it happen to me..you just have to stop the server.... darkshadow he should do himself so he will know how to do it...
December 12, 2009, 09:22:31 PM
if you have counter-strike.com server, open a support ticket and ask if they can install wcsmod for you. Unlike other gameserver companies they will install it for you
December 12, 2009, 08:35:34 PM
I want to add wcs to my server but i need es_tools and mattiescrps...when i try uploading them to my counter_strike.com bought server its not accepting es_tools.dll and mattiescrips.dll
December 12, 2009, 07:40:46 PM
With what mate?
December 12, 2009, 06:47:43 PM
guys i need help
Recent
[Today at 02:07:35 AM]

[Today at 02:06:15 AM]

[Today at 01:48:14 AM]

[Today at 01:37:31 AM]

[Today at 01:11:52 AM]

[December 14, 2009, 11:53:27 PM]

[December 14, 2009, 11:52:16 PM]

[December 14, 2009, 11:49:31 PM]

[December 14, 2009, 11:44:24 PM]

[December 14, 2009, 11:42:04 PM]
Theme switch

Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.147 seconds with 22 queries.