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

Author Topic: WCS - Warcraft:Source v0.77 *preview*  (Read 12753 times)

kryptonite

  • <WCS coder>
  • Administrator
  • Level 7 Expert
  • Posts: 1110
WCS - Warcraft:Source v0.77 *preview*
« on: October 19, 2007, 04:45:19 PM »
I'd like to show you the next milestone of WCS.
v0.77 is supposed to be a _preview release_, means it has some nice new features, but not everything what is wanted to be included actually is!

Here are some reasons why to upgrade:
- ES 1.5 optimizations
- new way to save users (SQLite DB)
you can edit the .sqldb file with this editor: http://sqlitebrowser.sourceforge.net/index.html
- WCSaddons system! Great to add new functions, effects and gameplay mods
- new weapon restriction system
- shopmenu almost complete recoded (with popup), its more flexible now
- wcs_setfx, enables you to easy code skill effects
- shopitem restriction for races
- Zombie mod compatibility: "wcs_cfg_changeracenextround" and "wcs_cfg_resetskillsnextround"

ok, on the other hand, this items would be great but are NOT included...
(click to show/hide)

Changelog for 0.77:
(click to show/hide)

The user DB will be auto-converted.
If you use MySQL, an update is not recommended!

Note: Eventscripts 1.5+ and EST 0.418 is needed
always make a BACKUP before updating!


Note: If you use ES 2.0 beta, get the latest version.

It _may_ lag after upgrade from v0.75, because of the new database system. On the first connect and for each race, it has to calculate some stuff, so the server lags especially after an update when 15 players join the same time. But that only temporary, and once they have the new database entry, all works fine.

if you want to see the database, get the SQLite browser.
you can do all SQL queries, to easily erase old players or level all races up
eg. this gives all my active races +20 level
Quote
UPDATE 'WCSusers' SET level = level + 20 WHERE id = 'STEAM_0:1:5818184'
(Note: Your server must be offline/Mod disabled to edit the SQL database)

[attachment deleted by admin - older than 200 days!]
« Last Edit: December 09, 2007, 07:24:55 AM by kryptonite »
(click to show/hide)

=[LSS]= Soldier

  • Level 7 Expert
  • Posts: 538
Re: WCS - Warcraf:Source v0.76 (preview release)
« Reply #1 on: October 19, 2007, 05:01:21 PM »
Awesom! Player_Kill! Alot easier for early coders! 
Powerdice  :mrgreen: :mrgreen: :mrgreen:!!! 
wcs_setfx? SFX or Skills?
new way to save users (SQLite DB) - Does that mean you can save levels?

=[LSS]= NEW Wc3 Server

Diraiba

  • not not telling you why im not no amdin cause i am
  • Inactive Moderator
  • Level 7 Expert
  • Posts: 398
  • Koekjen?
Re: WCS - Warcraf:Source v0.76 (preview release)
« Reply #2 on: October 19, 2007, 05:04:53 PM »
Congratulations!!
Well This Should do for now eh ;)

We are a HAPPY community NOW :D


kryptonite

  • <WCS coder>
  • Administrator
  • Level 7 Expert
  • Posts: 1110
Re: WCS - Warcraf:Source v0.76 (preview release)
« Reply #3 on: October 19, 2007, 05:06:42 PM »
 :mrgreen:

right, player_kill is another good reason.

wcs_setfx enables to give players many different effects
types: freeze speed god invis(0-255) invisp(in %) health armor gravity disguiser 1stclip 2ndclip longjump
eg.
give +100HP
es wcs_setfx health event_var(userid) + 100 5"
or limited godmode, 5 seconds (spawn protection!)
es wcs_setfx god event_var(userid) = 1 5"

so basically this is skill effects (sfx) .... yes...sfx could also be special effects, sry  :roll:
(click to show/hide)

=[LSS]= Soldier

  • Level 7 Expert
  • Posts: 538
Re: WCS - Warcraf:Source v0.76 (preview release)
« Reply #4 on: October 19, 2007, 05:14:43 PM »
Awesome, but you can still use the older versions as well right?  No need to recode?

=[LSS]= NEW Wc3 Server

kryptonite

  • <WCS coder>
  • Administrator
  • Level 7 Expert
  • Posts: 1110
Re: WCS - Warcraf:Source v0.76 (preview release)
« Reply #5 on: October 19, 2007, 05:39:54 PM »
hmm didn't you read me preview posts?  :roll:

about wcs_setfx
http://www.warcraft-source.com/board/index.php?topic=1802.0

about wcs_restrict
http://www.warcraft-source.com/board/index.php?topic=1837.0

someone asked me to code a spawn protection for zombie mod servers, without destroying spawn skills
this is now very easy to code:
Quote
event player_spawn
{
// give 5 sec spawn protection, give god, invisibility and speed
es wcs_setfx god event_var(userid) = 1 5
es wcs_setfx invisp event_var(userid) = 100 5
es wcs_setfx speed event_var(userid) + 2.0 5
}
after the time it resets to the value before, so spawn skills which modify invis, speed will work like before.
(click to show/hide)

[Oddity]TeacherCreature

  • Level 7 Expert
  • Posts: 1753
Re: WCS - Warcraf:Source v0.76 (preview release)
« Reply #6 on: October 19, 2007, 06:16:52 PM »
Make a custom STATS like HLstats  but tells you how many races get played and how often ... peoples favorite skills ... ETC

Monkerz

  • Level 0 Beginner
  • Posts: 18
Re: WCS - Warcraf:Source v0.76 (preview release)
« Reply #7 on: October 19, 2007, 07:20:47 PM »
Thanks kryptonice for the zm script =]

pun intended

EDIT: For some reason skillpoints reset everyround and "player_spawn_cmd" for all races no longer works. Did I overlook a new setting or something?
« Last Edit: October 19, 2007, 10:44:22 PM by Monkerz »

Stinkyfax

  • I <3 WCS
  • Level 7 Expert
  • Posts: 2020
Re: WCS - Warcraf:Source v0.76 (preview release)
« Reply #8 on: October 20, 2007, 03:17:35 AM »
i think it's nearly impossible to make complex and fully custom like hlstats, but what about talk with them and make an addon for hlstats? so that there will be also information about races included to hlstatsx?



HOLLIDAY

  • <Race Maker>
  • Moderator
  • Level 7 Expert
  • Posts: 2404
  • of all the things ive lost i miss my mind the most
Re: WCS - Warcraf:Source v0.76 (preview release)
« Reply #9 on: October 20, 2007, 03:20:12 AM »
i dont understand the WCSaddons,you make a folder called yourscript with a .txt called es_yourscript.txt and the script loads with wcs?

i thought it would allow a script to be loaded for a single race
a command in the race that loads the script only for that race
if you copied matties slingshot and put in WCSaddons you could put
es_load WCSaddond/slingshot in the player_spawn_cmd and it would activate for that race only.....

what is the difference than just puting the script in the eventscripts folder?

Snake

  • Level 6 Experienced
  • Posts: 142
Re: WCS - Warcraf:Source v0.76 (preview release)
« Reply #10 on: October 20, 2007, 05:07:57 AM »
OMFG! WHOOOOOOHHOOOOOO!!!!! GREEEEEEAAAAAATTTTZZZZZZ! THX Kryponite! <3
Wcs,Wcs,Wcs,Wcs,Wcs,Wcs,Wcs,Wcs,Wcs,Wcs,Wcs,Wcs,Wcs,Wcs!

Stinkyfax

  • I <3 WCS
  • Level 7 Expert
  • Posts: 2020
Re: WCS - Warcraf:Source v0.76 (preview release)
« Reply #11 on: October 20, 2007, 05:25:58 AM »
i dont understand the WCSaddons,you make a folder called yourscript with a .txt called es_yourscript.txt and the script loads with wcs?

i thought it would allow a script to be loaded for a single race
a command in the race that loads the script only for that race
if you copied matties slingshot and put in WCSaddons you could put
es_load WCSaddond/slingshot in the player_spawn_cmd and it would activate for that race only.....

what is the difference than just puting the script in the eventscripts folder?

Same question i asked few weeks ago, but i'm still interested in the answer. What's the difference between es_load command?



Frodo

  • Level 7 Expert
  • Posts: 857
  • Actinosphaerium eichhorni
Re: WCS - Warcraf:Source v0.76 (preview release)
« Reply #12 on: October 20, 2007, 09:34:57 AM »
So i can just create newfolder, write in it es_newfolder.txt, then here JUST write a block nothing else and then use for my race es_xdoblock? Or its going to be much easier?

Actually I found it as best Bux ever. Everything's automated!

Gnoren

  • Level 2 Apprentice
  • Posts: 43
  • {The Wild Geese}
Re: WCS - Warcraf:Source v0.76 (preview release)
« Reply #13 on: October 20, 2007, 11:13:26 AM »
Hm, ive tryed this version, and I used my old userdb.txt to the new and add the races so it all would be like before.
There was one problem: Skills got resetted and couldnt be spend, although lvl still was the same on races.
And when I resetted the whole servers xp it turns up that xp never saves or resets all the time.. :?:

"Cows doesn't drink milk"

Frodo

  • Level 7 Expert
  • Posts: 857
  • Actinosphaerium eichhorni
Re: WCS - Warcraf:Source v0.76 (preview release)
« Reply #14 on: October 20, 2007, 11:17:34 AM »
What convert version did u use?

Actually I found it as best Bux ever. Everything's automated!