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-02 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
February 02, 2010, 10:42:10 PM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Remember to check on the FAQ before start posting.
It may save you time and effort.
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1] 2   Go Down
  Print  
Author Topic: startlvlmod  (Read 668 times)
Jareth
iRRex|Gaming / Deutscher forum Helfer
Moderator
Level 7 Expert
*****
Offline Offline

Germany Germany

Posts: 431


Ich helfe Gernen allen Deutschen =)


WWW
WCS_Jar3th
xjarethx

myServer 195.3.216.36:27100
(Warning: click connects through Steam)
« on: August 04, 2008, 11:40:06 AM »

 im searching for a startlvlmod so when you join our server you get 20 start lvl or you tip startlvls and get 20 lvl                                                                                    i hope somebody can help me

MFG Jareth
Logged

Wcs 0.77 German Beta v1.01 Download Link: Download
CA.Berettonawak
Le renommé méconnu...
Watchdogs
Level 7 Expert
*****
Offline Offline

France France

Posts: 2935


Big Berettonawak is watching you...


WWW
Bifkids
« Reply #1 on: August 04, 2008, 01:17:03 PM »

there's an option in the config file :
Code:
  "wcs_cfg_newplayerbonus" "5"
just replace 5 by the number of levels you want wcs to give...
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
Jareth
iRRex|Gaming / Deutscher forum Helfer
Moderator
Level 7 Expert
*****
Offline Offline

Germany Germany

Posts: 431


Ich helfe Gernen allen Deutschen =)


WWW
WCS_Jar3th
xjarethx

myServer 195.3.216.36:27100
(Warning: click connects through Steam)
« Reply #2 on: August 04, 2008, 01:30:42 PM »

there's an option in the config file :
Code:
  "wcs_cfg_newplayerbonus" "5"
just replace 5 by the number of levels you want wcs to give...

Yes, I have made but Kryptonit said this is a bug because it does not work if a new player. For now, I always give the startlvls and the nerves but it also should give some sript where it goes

MFG Jareth
Logged

Wcs 0.77 German Beta v1.01 Download Link: Download
EvilGenuix
Level 7 Expert
*****
Offline Offline

United Kingdom

Posts: 224




xF |:. Evil Genuix |A|
« Reply #3 on: August 04, 2008, 01:54:36 PM »

Hi,

Yeah I have tried the Newbie Bonus under the config file and couldnt get it to work either, I believe it is bugged.

Evil Genuix
Logged
Jareth
iRRex|Gaming / Deutscher forum Helfer
Moderator
Level 7 Expert
*****
Offline Offline

Germany Germany

Posts: 431


Ich helfe Gernen allen Deutschen =)


WWW
WCS_Jar3th
xjarethx

myServer 195.3.216.36:27100
(Warning: click connects through Steam)
« Reply #4 on: August 05, 2008, 07:55:37 AM »

   
So for us not to go
  server and I do not know why what they use the version because I've 0.77 and the kryptonite said that the version does not work
Logged

Wcs 0.77 German Beta v1.01 Download Link: Download
Jareth
iRRex|Gaming / Deutscher forum Helfer
Moderator
Level 7 Expert
*****
Offline Offline

Germany Germany

Posts: 431


Ich helfe Gernen allen Deutschen =)


WWW
WCS_Jar3th
xjarethx

myServer 195.3.216.36:27100
(Warning: click connects through Steam)
« Reply #5 on: August 06, 2008, 10:32:31 AM »

helphelp pls help pls help
195.3.216.36:27100 server#1
Logged

Wcs 0.77 German Beta v1.01 Download Link: Download
kryptonite
<WCS coder>
Administrator
Level 7 Expert
*****
Offline Offline

Germany Germany

Posts: 1110



WWW
sp0nk

myServer 85.190.38.232:27015
(Warning: click connects through Steam)
« Reply #6 on: August 06, 2008, 12:23:07 PM »

yes, this is bugged in v0.77  :roll:

paste this line in wcs/WCSfunctions/es_WCSfunctions.txt
after line 148 (

Code
GeSHi (eventscripts):
while "server_var(wcs_counter) ..... // don't touch this
 
if (server_var(wcs_cfg_newplayerbonus) != 0) then es_xdelayed 5 wcs_givelevel server_var(wcs_uid) server_var(wcs_cfg_newplayerbonus)
 
} // don't tuch this

I hope Jareth will test this and confirm that it works  Tongue
Logged
Jareth
iRRex|Gaming / Deutscher forum Helfer
Moderator
Level 7 Expert
*****
Offline Offline

Germany Germany

Posts: 431


Ich helfe Gernen allen Deutschen =)


WWW
WCS_Jar3th
xjarethx

myServer 195.3.216.36:27100
(Warning: click connects through Steam)
« Reply #7 on: August 06, 2008, 02:49:40 PM »

yes, this is bugged in v0.77  :roll:

paste this line in wcs/WCSfunctions/es_WCSfunctions.txt
after line 148 (

Code
GeSHi (eventscripts):
while "server_var(wcs_counter) ..... // don't touch this
 
if (server_var(wcs_cfg_newplayerbonus) != 0) then es_xdelayed 5 wcs_givelevel server_var(wcs_uid) server_var(wcs_cfg_newplayerbonus)
 
} // don't tuch this

I hope Jareth will test this and confirm that it works  Tongue
#
Yes it works with me all the new players get lvls thank kryptoniet

195.3.216.36:27100 server#1      195.3.216.36:27100 server#1      195.3.216.36:27100 server#1   
« Last Edit: August 06, 2008, 02:56:48 PM by Jareth » Logged

Wcs 0.77 German Beta v1.01 Download Link: Download
ashitaka666
Level 3 Trained Apprentice
***
Offline Offline

United States United States

Posts: 71


Pic from 2 years ago.


WWW
ashes666101666

myServer 66.150.214.229:27015
(Warning: click connects through Steam)
« Reply #8 on: October 13, 2008, 11:50:45 PM »

Doesnt work for me. I use WCS .77

I had it like that in Ex. A First then in Ex. B I switched it around. Am I still doing something wrong? HELP plz!

EX.A
// >>>>>>>>>>>>>>>>> BEGIN CUSTOM COMMANDS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
block wcs_givecredits
{
if (server_var(wcs_cfg_newplayerbonus) != 0) then es_xdelayed 5 wcs_givelevel server_var(wcs_uid) server_var(wcs_cfg_newplayerbonus)
if (server_var(wcs_debug) = 1) then profile begin givecredits


  // usage:  wcs_givecredits <userid> <amount> <reason> <forced>
  // userid: give a VALID userid
  // amount: how many credits to add
  // reason: text (optional)
  // forced: 0/1 (optional)

  es_xset wcs_giveuserid 0
  es_xset wcs_amount 0
  es_xset wcs_reason 0

EX.B

block wcs_givecredits
{
if (server_var(wcs_debug) = 1) then profile begin givecredits
if (server_var(wcs_cfg_newplayerbonus) != 0) then es_xdelayed 5 wcs_givelevel server_var(wcs_uid) server_var(wcs_cfg_newplayerbonus)
Logged

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

Germany Germany

Posts: 1110



WWW
sp0nk

myServer 85.190.38.232:27015
(Warning: click connects through Steam)
« Reply #9 on: October 17, 2008, 12:10:49 PM »

sorry, I've explained it not very good....the new code must be within the block wcs_playercheck

for some reasons, the line number is wrong, maybe I changed something else on my local copy of es_wcsfunctions.txt

replace this whole block and it should really work.
I also attach the modded file for v0.77

open es_WCSfunctions.txt and replace the block_wcs_playercheck code with this one:
if you are unsure, download the attached es_WCSfunctions.txt file and replace it with yours.
Code
GeSHi (eventscripts):
block wcs_playercheck
{
// fixes invalid race setting or gives a random race
if (server_var(wcs_debug) = 1) then profile begin playercheck
es_xgetargv wcs_uid 1
 es_exists ex userid server_var(wcs_uid)
 ifx true(ex) do
 {
   es_exists ex key WCSuserdata server_var(wcs_uid)
   ifx true(ex) do
   {
     es_keygetvalue wcs_race WCSuserdata server_var(wcs_uid) race
     if (server_var(wcs_race) = "0") do
     {
       // random start race, but not a restricted one (NEW PLAYER !)
       es_rand wcs_race 1 server_var(wcs_numberofraces)
       es_keygetvalue wcs_tmp "WCSraces" server_var(wcs_race) "required_level"
       if (server_var(wcs_tmp) != "0") then es_xset wcs_race "1"
       es_keygetvalue wcs_tmp "WCSraces" server_var(wcs_race) "allow_only"
       if (server_var(wcs_tmp) != "0") then es_xset wcs_race "1"
       es_keysetvalue "WCSuserdata" server_var(wcs_uid) "race" server_var(wcs_race)
       es wcs_menuzero server_var(wcs_uid)
       es_getplayersteamid wcs_id server_var(wcs_uid)
       if ("BOT" notin server_var(wcs_id)) then es_xdelayed 11 wcs_race_menu server_var(wcs_uid)
       if (server_var(wcs_showtotalplayers) = "1") then es_xmath wcs_totalplayers + 1
     es_keygetvalue wcs_numberofskills WCSraces server_var(wcs_race) numberofskills
     es_xset wcs_counter 1
     while "server_var(wcs_counter) <= server_var(wcs_numberofskills)" "es_xformatv wcs_skillnumber skill_%1 wcs_counter;es_keysetvalue WCSuserdata server_var(wcs_uid) server_var(wcs_skillnumber) 0;es_xmath wcs_counter + 1"
     if (server_var(wcs_cfg_newplayerbonus) != 0) then es_xdelayed 5 wcs_givelevel server_var(wcs_uid) server_var(wcs_cfg_newplayerbonus)
   }
 }
 }
if (server_var(wcs_debug) = 1) then profile end playercheck
}

[attachment deleted by admin - older than 200 days!]
« Last Edit: October 17, 2008, 12:17:33 PM by kryptonite » Logged
HOLLIDAY
<Race Maker>
Watchdogs
Level 7 Expert
*****
Offline Offline

Posts: 2333


of all the things ive lost i miss my mind the most


WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« Reply #10 on: October 23, 2008, 07:36:01 AM »

ah, nice. thank you.
you think its about time for a WCS update?
~~~~~~~~~~~~~~~~~~~~~~
WCS 0.8 ?



edit  btw, why has this topic been moved to  Spam area?
this is verry usefull

re-edit ah i see, there is already a topic about this in bug reports..lol
« Last Edit: October 23, 2008, 07:42:38 AM by HOLLIDAY » Logged

EvilGenuix
Level 7 Expert
*****
Offline Offline

United Kingdom

Posts: 224




xF |:. Evil Genuix |A|
« Reply #11 on: October 23, 2008, 09:37:33 AM »

Thanks Krypt, one thing is that attached one used for 0.77 and the one in your post for 0.75 do you mean?

Thanks,

Evil Genuix
Logged
jin
Level 0 Beginner

Offline Offline

Germany Germany

Posts: 10





myServer 85.131.192.95:27000
(Warning: click connects through Steam)
« Reply #12 on: January 16, 2009, 05:33:33 PM »

Hi, i have change this data now, but i have this problem soever yet y.y

** sry for my realy realy bad english >.< **
Logged
CA.Berettonawak
Le renommé méconnu...
Watchdogs
Level 7 Expert
*****
Offline Offline

France France

Posts: 2935


Big Berettonawak is watching you...


WWW
Bifkids
« Reply #13 on: January 16, 2009, 05:46:35 PM »

frag in deutsch forum :p
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
abattage
Level 0 Beginner

Offline Offline

Canada Canada

Posts: 19



« Reply #14 on: April 30, 2009, 05:29:26 PM »

well its still not working for me. did anyone else ge Cry ???t it working. im running .77 but no levels to new players.

i replaced the hole file open es_WCSfunctions.txt and replace the block_wcs_playercheck code with this one:
if you are unsure, download the attached es_WCSfunctions.txt file and replace it with yours.
 
and changed // help for new players, give that levels
  "wcs_cfg_newplayerbonus" "250"
« Last Edit: April 30, 2009, 05:37:38 PM by abattage » Logged
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 10:43:30 AM
Yap, he mean eventscripter xD
Today at 01:03:48 AM
Eventscripter. lol
Today at 12:23:17 AM
A WCS scripter?
February 01, 2010, 06:12:18 PM
izh lookeh for 1 scripter to supp0t me
February 01, 2010, 05:14:04 PM
does anyone had a server problem that skin shows errors because people doesn't get .mdl file download....
February 01, 2010, 01:06:01 PM
Type any est_command in console and it will tell you it's syntax automatically Smiley
February 01, 2010, 12:40:20 AM
whats est_freeze syntax?

Recent
[Today at 07:24:36 PM]

[Today at 06:06:19 PM]

[Today at 06:02:56 PM]

[Today at 05:57:30 PM]

[Today at 05:54:01 PM]

[Today at 04:40:07 PM]

[Today at 03:29:43 PM]

[Today at 09:52:57 AM]

[Today at 06:59:11 AM]

[Today at 05:12:24 AM]
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.359 seconds with 23 queries.