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 2010-11-23 (original capture). Home · Forum · All archived topics · Downloads

Author Topic: WCS - Warcraft:Source v0.75 !  (Read 13942 times)

danny_and_2

  • Level 2 Apprentice
  • Posts: 43
WCS - Warcraft:Source v0.70 !
« Reply #15 on: April 03, 2007, 01:34:07 PM »
I dont understand this - Why is there wcs_lng_r_"NAME" in all the races and shops ??

kryptonite

  • <WCS coder>
  • Administrator
  • Level 7 Expert
  • Posts: 1110
WCS - Warcraft:Source v0.70 !
« Reply #16 on: April 03, 2007, 01:51:58 PM »
if theres a "wcs_lng_r" the script uses wcs_getlanguage to find the correct value in your language.

You can still use the default names, you can edit it !
Ist just in case you want eg. a Spain language so you can edit ALL stuff in WCS in ONE file -> es_WCSlanguage_db.txt
(click to show/hide)

danny_and_2

  • Level 2 Apprentice
  • Posts: 43
WCS - Warcraft:Source v0.70 !
« Reply #17 on: April 03, 2007, 02:27:11 PM »
Thx KRYP

HOLLIDAY

  • <Race Maker>
  • Moderator
  • Level 7 Expert
  • Posts: 2404
  • of all the things ive lost i miss my mind the most
WCS - Warcraft:Source v0.70 !
« Reply #18 on: April 04, 2007, 08:15:10 AM »
is it just my server or does chain lightning and teleport not working anymore? i took some custome races from the old txt. and past them on the new one. everything works good but that.this version seemed to have fixed the crashing problem i had too.

kryptonite

  • <WCS coder>
  • Administrator
  • Level 7 Expert
  • Posts: 1110
WCS - Warcraft:Source v0.70 !
« Reply #19 on: April 04, 2007, 09:44:28 AM »
hmm I made a little mistake, did you re-download the script and replaced es_WCSlanguage.txt ?
But Ill test if its not working for me, too !!
(click to show/hide)

[TwaT]Lloyd

  • Level 1 Trained Beginner
  • Posts: 36
WCS - Warcraft:Source v0.70 !
« Reply #20 on: April 04, 2007, 11:10:13 AM »
Heya

Installed your new update with SQL implementation

Is there anyway to keep the saved exp from 0.68? Ive enabled both SQL and Txt file saving, and it connects to the SQL database fine and dandy, however the server lags in spikes to extreme for 2 seconds everytime a new player connects, i assume thats the conversion from text file to the SQL?

Is there anyway around this?

LMk

Thanks for all your work,

Lloyd

[TwaT]Lloyd

  • Level 1 Trained Beginner
  • Posts: 36
WCS - Warcraft:Source v0.70 !
« Reply #21 on: April 04, 2007, 11:14:28 AM »
I even tried disabling the txt part and just using SQl from fresh i.e EXP reset , and just start over from scratch with an sql database, however it still lags out everytime its adding a new record to the database it seems, is this due to the coding of the sql part of your mod, or is it that the sql server im using is a bit buggy? could try setting up a new one on the localhost of the machine see if that works to stop the lag spikes i guess :S

[TwaT]Lloyd

  • Level 1 Trained Beginner
  • Posts: 36
WCS - Warcraft:Source v0.70 !
« Reply #22 on: April 04, 2007, 11:24:54 AM »
Excellent ,where can i get this thing programmed by Vito?

+ its MySQL 5.0 windows

+ Server load is very low :S

kryptonite

  • <WCS coder>
  • Administrator
  • Level 7 Expert
  • Posts: 1110
WCS - Warcraft:Source v0.70 !
« Reply #23 on: April 04, 2007, 11:31:46 AM »
it needs some tests....I'll post that later here on the forum !

Ok, I dont know how "good" the mysql server on Windows is :P

If you have a server console, try
wcs_debug 1

and check when a new player joins/leaves, the TIMING for the wcs_sql_setplayer function !!
For me, it was always around 0.1 second.
(the first version of the sql script was 0.8 seconds !!! but we optimized it :) )
(click to show/hide)

[TwaT]Lloyd

  • Level 1 Trained Beginner
  • Posts: 36
WCS - Warcraft:Source v0.70 !
« Reply #24 on: April 04, 2007, 11:40:36 AM »
Fantastic :) ill try that and let you know..

Lloyd

[TwaT]Lloyd

  • Level 1 Trained Beginner
  • Posts: 36
WCS - Warcraft:Source v0.70 !
« Reply #25 on: April 04, 2007, 11:49:42 AM »
0.0005 TO 0.0007

[TwaT]Lloyd

  • Level 1 Trained Beginner
  • Posts: 36
WCS - Warcraft:Source v0.70 !
« Reply #26 on: April 04, 2007, 11:57:01 AM »
heya krypto, thanks ever so much for your continued support, it was a remote sql server that i was using, i instaleld an sql server on the local machine (same as server ) and its worked a treat, before the wcs_sqlplayer thingy whatever ya call it was like 3- 5 seconds on other sql databse :)

Thanks very much for all your effort and for bringing us a fabulous mod for css :)


Lloyd xx

[TwaT]Lloyd

  • Level 1 Trained Beginner
  • Posts: 36
WCS - Warcraft:Source v0.70 !
« Reply #27 on: April 04, 2007, 12:17:15 PM »
Heya

Just a quick query

We are working on developing a web-front-end for EXP management, using PHP to the SQl so it allows us to easily reward exp / levels to people through a website

just s alittle something i need to know ( this is my guess from it )

in each race column, im assuming the format is

[under each race]


Current Level | Current  Level EXP | Skill1 Level | Skill 2 Level | Skill 3 Level | Skill 4 Level  e.t.c?


like 32|4000|8|8|8|8

would be a level 32 of that race, with 4000 exp in current level and each skill at a level of 8?

Please confirm :)

Thanks,

Lloyd xx

kryptonite

  • <WCS coder>
  • Administrator
  • Level 7 Expert
  • Posts: 1110
WCS - Warcraft:Source v0.70 !
« Reply #28 on: April 04, 2007, 02:48:26 PM »
oh yes thats fast !!!
So thats the difference on a remote SQL server or on the same machine as the CSS server....

Now, that shouldnt be the reason for the lags !
Did you notice any other high value when the server seems to lag ?
(click to show/hide)

[TwaT]Lloyd

  • Level 1 Trained Beginner
  • Posts: 36
WCS - Warcraft:Source v0.70 !
« Reply #29 on: April 04, 2007, 02:58:02 PM »
heya Krypto, ive got such a headache lol

My server is randomly crashing and i cannot locate the source of it

is there anyway at all that i can turn on wcs_debug 1 and log EVERYTHING thats displayed in the console window so i can look at what made the server crash?

because when the server crashes it closes the console window so fast, i cant see what was the last action / thing that caused the crash.

Thanks in advance for your help

Lloyd x

p.s i fixed the SQL Thing, the thing that was making it lag was that previously the SQL server was taking 3-5 seconds to update a record on a remote SQL server , whereas when its a local SQL server , its like 0.0007 secs lol