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-02-01 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
February 01, 2010, 02:41:04 PM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Races and Items added into Download section from our great Race Coders!
Such as... HOLLIDAY|NovaKiller|Stinkyfax|Frodo|TeacherCreature|Phat_Wizard
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1]   Go Down
  Print  
Author Topic: Lag when gaining level  (Read 172 times)
Foofeh
Level 0 Beginner

Offline Offline

Denmark Denmark

Posts: 14



« on: January 01, 2010, 06:37:45 PM »

I dont know where to post this as i just recently started toying around with css servers and such, so please correct me if this is wrong Smiley

My server is running the (i think) latest versions of the mani mod 2.1, wcs 0.77.

When someone gets a level on my server, we all get a lagspike, and if 2 persons gain a level (i.e. 500xp to all on server command) its a 10 sec lag spike.

I think its the delay when the server is saving the xp/level/data into the es_wcsdata.sqldb.

Copy Paste from my es_WCS_config_db.txt

Code:
  // You need to enable SQL support, TXT file support or BOTH. But you should not disable both.
  // enable SQL, you need a local or remote MySQL server (setup in WCSsql/es_WCSsql.txt)
  //"wcs_cfg_enablesql" "0"
  // save players in local .txt file
  "wcs_cfg_enabletxtfile" "1"

This was supposed to make a txt file to save the levels/users in, but apparently it choose to save it in sqldb instead - and this is where the lag starts, atleast thats what i think.

Any help and ideas are greatly welcome!
Logged
CA.Berettonawak
Le renommé méconnu...
Watchdogs
Level 7 Expert
*****
Offline Offline

France France

Posts: 2934


Big Berettonawak is watching you...


WWW
Bifkids
« Reply #1 on: January 01, 2010, 06:58:49 PM »

that's because of giving EVERYONE Tongue
Logged

Quote from: N0life
Beret, keep yourself focusing on 1 project. Be sure to memorize that down since it sounds good.
Quote from: myself
i love tuna juice Cheesy
Quote from: Pietro
=CA= Pietro: back
=CA= Pietro: sorry, was downstair sharing my chocolate with my cat
=CA= Pietro: you should see his face when he ate it xD
Quote from: myself
=CA= Berettonawak: just because you don't have hope doesn't mean we're doomed
Foofeh
Level 0 Beginner

Offline Offline

Denmark Denmark

Posts: 14



« Reply #2 on: January 01, 2010, 07:11:21 PM »

Hehe, i thought so aswell, but being alone on the server giving myself a single level gives the same lag.
Also if only 2 players are on the server, and one levels from killing the other, the lag still happens Smiley
Logged
CA.Berettonawak
Le renommé méconnu...
Watchdogs
Level 7 Expert
*****
Offline Offline

France France

Posts: 2934


Big Berettonawak is watching you...


WWW
Bifkids
« Reply #3 on: January 01, 2010, 08:23:26 PM »

Hum tihs is weird.
What ES version are you running?
Logged

Quote from: N0life
Beret, keep yourself focusing on 1 project. Be sure to memorize that down since it sounds good.
Quote from: myself
i love tuna juice Cheesy
Quote from: Pietro
=CA= Pietro: back
=CA= Pietro: sorry, was downstair sharing my chocolate with my cat
=CA= Pietro: you should see his face when he ate it xD
Quote from: myself
=CA= Berettonawak: just because you don't have hope doesn't mean we're doomed
La Muerte
Level 7 Expert
*****
Offline Offline

Belgium Belgium

Posts: 286


85.234.148.14:27025


WWW
shitbreak714
shitbreak714

myServer 85.234.148.14:27025
(Warning: click connects through Steam)
« Reply #4 on: January 01, 2010, 08:56:35 PM »

try this: 
 "wcs_cfg_enablesql" "0"

, instead of

  //"wcs_cfg_enablesql" "0"
Logged

Foofeh
Level 0 Beginner

Offline Offline

Denmark Denmark

Posts: 14



« Reply #5 on: January 01, 2010, 09:23:29 PM »

Hum tihs is weird.
What ES version are you running?

The version following, ill check up on the number as soon as i can.

try this: 
 "wcs_cfg_enablesql" "0"

, instead of

  //"wcs_cfg_enablesql" "0"

Tried this now. No difference, but i see the idea.
Logged
Foofeh
Level 0 Beginner

Offline Offline

Denmark Denmark

Posts: 14



« Reply #6 on: January 02, 2010, 02:56:42 AM »

Hum tihs is weird.
What ES version are you running?

The version following, ill check up on the number as soon as i can.

WCS 0.77 Full download from WCS v0.77 FULL (ES 1.5 and EST 0.418)
Logged
CA.Berettonawak
Le renommé méconnu...
Watchdogs
Level 7 Expert
*****
Offline Offline

France France

Posts: 2934


Big Berettonawak is watching you...


WWW
Bifkids
« Reply #7 on: January 02, 2010, 03:08:39 PM »

Update both ES and EST Tongue
ES 2.0.0.250i available.
EST 0.420 available.
Logged

Quote from: N0life
Beret, keep yourself focusing on 1 project. Be sure to memorize that down since it sounds good.
Quote from: myself
i love tuna juice Cheesy
Quote from: Pietro
=CA= Pietro: back
=CA= Pietro: sorry, was downstair sharing my chocolate with my cat
=CA= Pietro: you should see his face when he ate it xD
Quote from: myself
=CA= Berettonawak: just because you don't have hope doesn't mean we're doomed
Foofeh
Level 0 Beginner

Offline Offline

Denmark Denmark

Posts: 14



« Reply #8 on: January 02, 2010, 09:07:23 PM »

I will try this when my server gets back online after some troubble i decided to reinstall the entire server to start out fresh! Smiley
Logged
CA.Berettonawak
Le renommé méconnu...
Watchdogs
Level 7 Expert
*****
Offline Offline

France France

Posts: 2934


Big Berettonawak is watching you...


WWW
Bifkids
« Reply #9 on: January 02, 2010, 09:59:54 PM »

I will try this when my server gets back online after some troubble i decided to reinstall the entire server to start out fresh! Smiley
good luck Tongue
Logged

Quote from: N0life
Beret, keep yourself focusing on 1 project. Be sure to memorize that down since it sounds good.
Quote from: myself
i love tuna juice Cheesy
Quote from: Pietro
=CA= Pietro: back
=CA= Pietro: sorry, was downstair sharing my chocolate with my cat
=CA= Pietro: you should see his face when he ate it xD
Quote from: myself
=CA= Berettonawak: just because you don't have hope doesn't mean we're doomed
Foofeh
Level 0 Beginner

Offline Offline

Denmark Denmark

Posts: 14



« Reply #10 on: January 03, 2010, 02:55:13 AM »

I tried to update it to the newest version as you listed above - no difference.
I reinstalled everything over again - still no help.

Then i tried to install an older version of wcs v.0.75 - everything works perfect.

Since ive been working on this for 5 days and spent quiet some time on it, i think ill try live with the old version. SO.....

Is it possible to set the new shopmenu (including items/effects) on the older versions? :p
Logged
CA.Berettonawak
Le renommé méconnu...
Watchdogs
Level 7 Expert
*****
Offline Offline

France France

Posts: 2934


Big Berettonawak is watching you...


WWW
Bifkids
« Reply #11 on: January 03, 2010, 12:55:12 PM »

No it is not possible.
So i guess it's just your host which is bad quality so when using SQL (which takes some memory as being a powerful database) it lags Tongue
Logged

Quote from: N0life
Beret, keep yourself focusing on 1 project. Be sure to memorize that down since it sounds good.
Quote from: myself
i love tuna juice Cheesy
Quote from: Pietro
=CA= Pietro: back
=CA= Pietro: sorry, was downstair sharing my chocolate with my cat
=CA= Pietro: you should see his face when he ate it xD
Quote from: myself
=CA= Berettonawak: just because you don't have hope doesn't mean we're doomed
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 01:06:01 PM
Type any est_command in console and it will tell you it's syntax automatically Smiley
Today at 12:40:20 AM
whats est_freeze syntax?

January 31, 2010, 06:00:01 PM
asap :p
January 31, 2010, 05:59:47 PM
ok berett no offense but we need to talk.
January 30, 2010, 08:48:38 PM
wcs_alpha is used for effects to determine how visible/bright/see-through an effect is.
January 30, 2010, 05:44:23 PM
Has nothing to do with the speed. wcs_alpha is just a variable which can be used anywhere.
January 30, 2010, 05:40:44 PM
oh and thank you ^.^
Recent
[Today at 09:54:21 AM]

by amiq
[Today at 09:33:18 AM]

by amiq
[Today at 09:33:07 AM]

[Today at 09:32:25 AM]

[Today at 12:58:25 AM]

[Today at 12:55:11 AM]

[January 31, 2010, 09:30:44 PM]

[January 31, 2010, 09:30:04 PM]

[January 31, 2010, 09:29:04 PM]

[January 31, 2010, 09:27:48 PM]
Theme switch

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