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 2008-04-10 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
April 11, 2008, 12:05:48 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

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: Help with WC3 Saving Method  (Read 18 times)
thegtz
Level 0 Beginner

Offline Offline

United States United States

Posts: 7



WWW
boyinawell
thegtz
« on: April 07, 2008, 12:52:38 AM »

Which method do you guys use to save player levels? Txt file or SQlite?

Which is better? Faster? Less resources/performance usage?

SQlite, how would one set it up because I see nothing about it, no guides or anything, can't find anything about it on the forums either so could someone tell me how to set that up please.
Logged

kryptonite
<WCS coder>
Administrator
Level 7 Expert
*****
Offline Offline

Germany Germany

Posts: 1096



WWW
sp0nk

myServer 85.190.38.232:27015
(Warning: click connects through Steam)
« Reply #1 on: April 07, 2008, 09:50:00 AM »

if you want SQLite, you need WCS v0.77 (and that supports no .txt saving)

WCS 0.75 supports only .txt

the txt file is better for small server, it has less overhead, everything is loaded into memory.
sqlite performs better on large database and offers new options, like eg. removing players who didn't play for 14 days. Or a .php script can easily parse this file and use it for a nice stats website.

we planned to switch to sqlite, because the syntax is similar to MySQL. But now, the mysql stuff is broken and we cannot setup server-sharing levels/xp
Logged

(click to show/hide)
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
April 10, 2008, 08:23:54 PM
not really power, there are bad people and there are people who are killing other people, and there are people who are destroying other people.
April 10, 2008, 05:07:31 PM
Who's happy ? ^^
April 10, 2008, 04:45:28 PM
Yea, well be happy that there is still some people whom behave like me... without... the world would be a boring(better) place.... wich sucks...
April 10, 2008, 02:43:59 PM
i'm not serious, i'm just pointing how do you behave (always)
April 10, 2008, 10:16:51 AM
all im doing is keeping an uppy attitude... im trying to look a bit positive at this... you arez teh ones always being negative... yo uguys shouldnt be so F*kin Serious...
April 09, 2008, 08:11:39 PM
thats not positive feedback at all, it is just making that guy more frustrated
April 09, 2008, 04:52:39 PM
you mean "postive feedback"?
Recent
by Jeff
[April 10, 2008, 11:50:15 PM]

[April 10, 2008, 10:48:04 PM]

by Jeff
[April 10, 2008, 08:55:56 PM]

by Jeff
[April 10, 2008, 08:48:07 PM]

[April 10, 2008, 08:10:58 PM]

[April 10, 2008, 07:21:15 PM]

by Jeff
[April 10, 2008, 06:24:17 PM]

[April 10, 2008, 05:37:32 PM]

[April 10, 2008, 05:27:50 PM]

[April 10, 2008, 05:24:58 PM]
Theme switch

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