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 2014-08-17 (original capture). Home · Forum · All archived topics · Downloads
August 16, 2014, 08:28:55 PM

Author Topic: EST replacement / New WCS Python (in works)  (Read 5282 times)

Offline freddukes

  • Level 7 Expert
  • *****
  • Posts: 359
  • Country:
EST replacement / New WCS Python (in works)
« on: June 27, 2010, 08:40:32 AM »
Okay, so the title is kinda misleading. I know I don't have the "best name" around here for abandoning a lot, and basically being a jackass.  I really want WCS to succeed, no matter which mod it is, it's the best type of gameplay (except for my SourceRPG mod :P ). I've currently spent the last 6 months is (on and off I should say) creating my new wcs python from scratch. This will be a completely separate entity from your WCS you know and love; the main reason... I've took the huge decision to drop ESS and Keygroup support. They caused WAYYYYY to much problems, crashes, instability etc. From now on, I will leave it just to Python races. Therefore, the majority of you will probably hate me / won't be interested by that mod, so I'm not trying to convert you or anything. If you look at the WCS source, you can see how much better it is coded. Everything is now modular, which means if things break, it's a lot simpler to determine the error and a lot easier to fix it. It also uses sqlite, and first tests show that saving using this method is EXTREMELY speedy. I use a new Object Orientated manor to manage the code. When I first created WCS with Jeff, I was an unbelievably bad programmer; now I am far better (but still not as good as I'd like to be...) Just take a look at the source, and you'll see that I've kept it extremely neat and tidy, documented everything in the functions and made it very pythonic.

As for the second thing, this is the worst kept secret in history, but I'm creating an EST replacement. This means I'll be using ES only commands (with the help of SPE) to recreate the majority of functionality that EST once had. This requires that I learn a lot more about signature scanning and what not as my Source knowledge isn't too great :P (hopefully I'll receive help from that point). The current commands I support are as follows:

Code: [Select]
    est.registerESTCommand("AddDownload", '<path>', addDownload, 1)
    est.registerESTCommand("CSay", '<players> <"message">', cSay, 2)
    est.registerESTCommand("HSay", '<players> <"message">', hSay, 2)
    est.registerESTCommand("CurTime", '<var>', getCurrentTime, 1)
    est.registerESTCommand("Damage", '<attacker> <victim> <amount of damage>', damage, 3)
    est.registerESTCommand("DeleteRagDolls", '[est filter]', removeRagdolls, (0, 1))
    est.registerESTCommand("Freeze", '<est filter> <1/0>', freeze, 2)
    est.registerESTCommand("DropWeapon", '<est filter>', drop, 2)
    est.registerESTCommand("EndRound", '', endRound, 0)
    est.registerESTCommand("Dissolve", '<classname/index>', dissolve, 1)
    est.registerESTCommand("Name", '<userid> <name>', changeName, 2)
    est.registerESTCommand("UpTime", '<var>', uptime, 1)
    est.registerESTCommand("StripPlayer", '<est filter>', stripPlayer, 1)
    est.registerESTCommand("Speed", '<est filter> <value>', speed, 2)
    est.registerESTCommand("Teleport", '<player> <x> <y> <z>', teleport, 4)
    est.registerESTCommand("Slay", '<est filter>', slay, 1)
    est.registerESTCommand("Drug", '<est filter> [time]', drug, (1, 2))
    est.registerESTCommand("Drunk", '<est filter> [time]', drunk, (1, 2))
    est.registerESTCommand("Give", '<est filter> <entity>', give, 2)
    est.registerESTCommand("God", '<est filter> <1/0>', god, 2)
    est.registerESTCommand("GetWallBetween", '<var> <x> <y> <z> <targetx> <targety> <targetz>', getWallBetween, 7)
    est.registerESTCommand("GetChat", '<var> <name/userid>', getChat, 2)
    est.registerESTCommand("Ban", '<est filter> <time> ["reason"]', ban, (2, 3))
    est.registerESTCommand("Kick", '<est filter> ["reason"]', kick, (1, 2))
    est.registerESTCommand("Burn", '<est filter> [time]', burn, (1, 2))
    est.registerESTCommand("Extinguish", '<est filter>', extinguish, 1)
    est.registerESTCommand("CExec", '<est filter> "<command>"', cexec, 2)
    est.registerESTCommand("Help", '[command]', getHelp, (0,1))
    est.registerESTCommand("Fade", '<est filter> <type> <fade time> <total time> <red> <green> <blue> <alpha>', fade, 8)
    est.registerESTCommand("JetPack", '<est filter> <1/0>', jetpack, 2)
    est.registerESTCommand("NoClip", '<est filter> <1/0>', noclip, 2)
    est.registerESTCommand("LightStyle", '<stylestring> <stylenum>', changeLightStyle, 2)
    est.registerESTCommand("MutePlayer", '<est filters>', mutePlayer, 1)
    est.registerESTCommand("UnMutePlayer", '<est filters>', unmutePlayer, 1)
    est.registerESTCommand("Team", '<est filters> <team index>', switchTeam, 2)
    est.registerESTCommand("Spawn", '<est filters> [force spawn]', spawn, (1, 2))
   
    est.registerESTCommand("PhysPush", '<est filter> <x force> <y force> <z force>', physPush, 4)
    est.registerESTCommand("PushTo", '<est filter> <x> <y> <z> <force>', pushTo, 5)
    est.registerESTCommand("Remove", '<ent index>', remove, 1)
    est.registerESTCommand("RoundDecimal", '<var> <number> <decimal digits>', roundDecimal, 3)
    est.registerESTCommand("Rocket", '<est filter>', rocket, 1)
   
    est.registerESTCommand("HasDefuser", '<var> <name/userid>', hasDefuser, 2)
    est.registerESTCommand("HasHelmet", '<var> <name/userid>', hasHelmet, 2)
    est.registerESTCommand("HasKevlar", '<var> <name/userid>', hasKevlar, 2)
    est.registerESTCommand("IsAlive", '<var> <name/userid>', isAlive, 2)
    est.registerESTCommand("IsBomber", '<var> <name/userid>', isBomber, 2)
    est.registerESTCommand("IsAlpha", '<var> <string>', isAlpha, 2)
    est.registerESTCommand("IsNumeric", '<var> <string>', isNumeric, 2)
    est.registerESTCommand("IsOnly", '<var> <string> <allowed chars>', isOnly, 3)
    est.registerESTCommand("ClassList", 'No arguments', classList, 0)
    est.registerESTCommand("GetEntClassName", '<var> <entity index>', getEntityClassName, 2)
    est.registerESTCommand("GetEntityIndex", '<var> <name/userid> <classname>', getEntityIndex, 3)
    est.registerESTCommand("GetEntName", '<var> <entity index>', getEntName, 2)
    est.registerESTCommand("SetEntName", '<entity index> <entity name>', setEntName, 2)
    est.registerESTCommand("GetAngleToPoint", '<userid/name> <x> <y> <z> <var pitch> <var yaw> <var roll>', getAngleToPoint, 7)
    est.registerESTCommand("GetViewAngle", '<userid/name> <var pitch> <var yaw> <var roll>', getViewAngle, 4)
    est.registerESTCommand("GetViewCoord", '<userid/name> <var x> <var y> <var z>', getViewCoord, 4)
    est.registerESTCommand("GetViewPlayer", '<userid/name> <var>', getViewPlayer, 2)
    est.registerESTCommand("GetViewProp", '<userid/name> <var>', getViewProp, 2)
    est.registerESTCommand("GetEyeCoord", '<userid/name> <x var> <y var> <z var>', getEyeCoord, 4)
    est.registerESTCommand("GetGunCoord", '<userid/name> <x var> <y var> <z var>', getGunCoord, 4)
    est.registerESTCommand("GetPlayerDistance", '<distance var> <azimuth var> <elevation var> <userid/name> <target id/target name>', getPlayerDistance, 5)
    est.registerESTCommand("GetIp", '<var> <userid/name>', getIP, 2)
    est.registerESTCommand("Getindex", '<var> <userid/name>', getIndex, 2)
    est.registerESTCommand("GetName", '<var> <userid/name>', getName, 2)
    est.registerESTCommand("GetUserid", '<var> <userid/name>', getUserid, 2)
    est.registerESTCommand("GetSteam", '<var> <userid/name>', getSteam, 2)
    est.registerESTCommand("GetTeam", '<var> <userid/name>', getTeam, 2)
    est.registerESTCommand("GetHE", '<var> <userid/name>', getHE, 2)
    est.registerESTCommand("GetFB", '<var> <userid/name>', getFB, 2)
    est.registerESTCommand("GetSG", '<var> <userid/name>', getSG, 2)
    est.registerESTCommand("GetPrimary", '<var> <userid/name>', getPrimary, 2)
    est.registerESTCommand("GetSecondary", '<var> <userid/name>', getSecondary, 2)
    est.registerESTCommand("KnifeOnly", '<var> <userid/name>', knifeOnly, 2)
    est.registerESTCommand("GetGun", '<var> <userid/name>', getGun, 2)
    est.registerESTCommand("MOTD_F", '<est filter> <title> <command> <file>', motdFromFile, 4)
    est.registerESTCommand("MOTD_W", '<est filter> <title> <command> <URL>', motdFromURL, 4)
    est.registerESTCommand("MOTD_T", '<est filter> <title> <command> <raw text>', motdFromRawText, 4)
    est.registerESTCommand("Msg", '<est filter> <message>', message, 2)
    est.registerESTCommand("Near", '<var> <est filter> <distance> <name/userid> <command>', near, 5)
    est.registerESTCommand("NearCoord", '<var> <est filter> <distance> <x> <y> <z> <command>', nearCoord, 7)
    est.registerESTCommand("MakeEntity", '<entity> <model> <x> <y> <z> [index var]', makeEntity, (5, 6))
    est.registerESTCommand("GetGravity", '<var> <userid/name>', getGravity, 2)
    est.registerESTCommand("SetGravity", '<est filter> <amount>', setGravity, 2)
    est.registerESTCommand("GetAmmo", '<var> <name/userid> <weapon slot / name>', getAmmo, 3)
    est.registerESTCommand("GetClipAmmo", '<var> <name/userid> <weapon slot / name>', getClip, 3)
    est.registerESTCommand("GetWeaponIndex", '<var> <name/userid> <weapon slot / name>', getWeaponIndex, 3)
    est.registerESTCommand("StrToUPPER", '<var> <string>', changeToUpper, 2)
    est.registerESTCommand("StrTolower", '<var> <string>', changeToLower, 2)
    est.registerESTCommand("StrLen", '<var> <string>', getStringLength, 2)
    est.registerESTCommand("TrimDecimal", '<var> <number> <decimal-position>', trimDecimal, 3)
    est.registerESTCommand("GetDeaths", '<var> <userid>', deathGet, 2)
    est.registerESTCommand("GetKills", '<var> <userid>', killGet, 2)
    est.registerESTCommand("Kills", '<est filter> <operator> <amount>', kills, 3)
    est.registerESTCommand("KillAdd", '<est filter> <amount>', killAdd, 2)
    est.registerESTCommand("KillSet", '<est filter> <amount>', killSet, 2)
    est.registerESTCommand("CvarAddFlag", '<cvar> <gamedll> <sponly> <notify> <cheat> <userinfo> <unlogged> <replicated>', addCVARFlags, 8)
    est.registerESTCommand("CvarDelFlag", '<cvar> <gamedll> <sponly> <notify> <cheat> <userinfo> <unlogged> <replicated>', deleteCVARFlags, 8)
    est.registerESTCommand("Armor", '<est filter> <operator> <amount>', armor, 3)
    est.registerESTCommand("ArmorAdd", '<est filter> <amount>', armorAdd, 2)
    est.registerESTCommand("SetArmor", '<est filter> <amount>', armorSet, 2)
    est.registerESTCommand("GetArmor", '<variable> <est player>', armorGet, 2)
    est.registerESTCommand("Health", '<est filter> <operator> <amount>', health, 3)
    est.registerESTCommand("HealthAdd", '<est filter> <amount>', healthAdd, 2)
    est.registerESTCommand("SetHealth", '<est filter> <amount>', healthSet, 2)
    est.registerESTCommand("GetHealth", '<variable> <est player>', healthGet, 2)
    est.registerESTCommand("Cash", '<est filter> <operator> <amount>', cash, 3)
    est.registerESTCommand("CashAdd", '<est filter> <amount>', cashAdd, 2)
    est.registerESTCommand("SetCash", '<est filter> <amount>', cashSet, 2)
    est.registerESTCommand("GetCash", '<variable> <est player>', cashGet, 2)
    est.registerESTCommand("ViewCone", '<var> <userid/name> <est filter> <cone angle> <cone distance> <"command">', viewCone, 6)
    est.registerESTCommand("OpenFile", '<var> [file type ("r" / "w")] <"file path">', files.openFile, (2,3))
    est.registerESTCommand("OpenFiles", 'No arguments', files.openFiles, 0)
    est.registerESTCommand("PrintOpenFile", '<file handle>', files.printOpenFile, 1)
    est.registerESTCommand("CountLines", '<var> <file handle>', files.countLines, 2)
    est.registerESTCommand("CloseFile", '<file handle>', files.closeFile, 1)
    est.registerESTCommand("FileExists", '<var> <file path>', files.fileExists, 2)
    est.registerESTCommand("GetLine", '<var> <file handle> <line number>', files.getLine, 3)
    est.registerESTCommand("DeleteLine", '<file handle> <line number>', files.deleteLine, 2)
    est.registerESTCommand("InsertLine", '<file handle> <line number (-1 = append)> <text>', files.insertLine, 3)

(You can see that all the commands register by looking at this console dump)

The commands I've got left to convert before I have my first release are as follows:

Code: [Select]
est_Play
est_PlayEdict
est_PlayerCount
est_PlayPlayer
est_propcount
est_proplist
est_propshow
est_RandPlayer
est_RemoveIdle
est_RemoveWeapon
est_Restrict
est_RestrictAll
est_SetAim
est_SetAmmo
est_SetClipAmmo
est_SetEntityColor
est_SetEntModel
est_SetModel
est_SetPlayerColor
est_SetViewAngle
est_SetViewCoord
est_Shake
est_ShowMenu
est_showrestrict
est_StopSound
est_UnRestrict
est_UnRestrictAll

Now you may notice a few things. There are no est_effects. This is the command I'm currently working on, but it requires that I learn how to sig scan, (you can see my plead for help here, so I'm currently working hard to bring it back). The entire source (as it stands) can be found here although I highly suggest you don't run it as it's not even syntax checked yet).

This is just an update so you know where I stand, and I apologise for anything I've done in the past to the community. Again I haven't forgotten about you are anything.

On a side note, if anyone would like to help me with anything to do with the new WCS, I'd be glad to listen (such as suggetions, small code snippets and what not). I have bigger plans for WCS: Python, including some very advanced and crazy web PHP scripts :P (I'm keeping this a secret until later stage). I don't think it'll be ready any time soon, there's still a huge amount of work to do to WCS: Python to make it into beta stage, and I've learnt from last time to not rush anything :D

-freddukes
« Last Edit: June 27, 2010, 08:42:43 AM by freddukes »

Offline MiBShidobu

  • Level 7 Expert
  • *****
  • Posts: 1629
  • Country: us
Re: EST replacement / New WCS Python (in works)
« Reply #1 on: June 27, 2010, 08:47:11 AM »
Oh my god the new update :D
Edit - Thanks alot btw.
« Last Edit: June 27, 2010, 08:51:27 AM by Shidobu »
Quote from: Tha Pwned
2:35 PM - La Muerte: pwned + forum = fail
2:36 PM - Tha Pwned: +1
2:36 PM - Tha Pwned: Don't quote

Offline Zatox

  • Level 1 Trained Beginner
  • *
  • Posts: 34
  • Country: us
  • How did that happen?
Re: EST replacement / New WCS Python (in works)
« Reply #2 on: June 27, 2010, 10:02:51 AM »
Woot guess I better learn Python :D

Offline necavi

  • Level 7 Expert
  • *****
  • Posts: 463
  • Country:
Re: EST replacement / New WCS Python (in works)
« Reply #3 on: June 27, 2010, 01:19:46 PM »
Sounds like some very similar stuff to WCSx, I'm eager to see which version is more popular (or really...faster and more efficient and more powerful, as that matters more, no matter what popular opinion says).

Offline Virr

  • Level 7 Expert
  • *****
  • Posts: 245
Re: EST replacement / New WCS Python (in works)
« Reply #4 on: June 27, 2010, 01:24:43 PM »
hi,
I have load ESTpython, But on WCS 0.77 version dont work?

Sorry for my bad english :S I m french  :'( :'(

Offline Volunterrors

  • Level 5 Trained Intermediate
  • *****
  • Posts: 108
    • Warcraft Phoenix Forum
Re: EST replacement / New WCS Python (in works)
« Reply #5 on: June 27, 2010, 01:26:30 PM »
Sorry I can't resist testing this. It's loading fine but once active it doesn't seem to work and registers errors such as these:
Code: [Select]
File /usr/local/games/css/783752/8.12.71.26:27015/orangebox/cstrike/addons/eventscripts/es.py, line 333, in callBlock
    self.Blocks[blockname]()
  File /usr/local/games/css/783752/8.12.71.26:27015/orangebox/cstrike/addons/eventscripts/_libs/python/cmdlib.py, line 173, in callbackServer
    cmd_manager.callback(cmd_manager.server_commands, es.getargv(0).lower())
  File /usr/local/games/css/783752/8.12.71.26:27015/orangebox/cstrike/addons/eventscripts/_libs/python/cmdlib.py, line 112, in callback
    cmdlist[name].execute(self.CMDArgs(es.getargv(x) for x in xrange(1, es.getargc())))
  File /usr/local/games/css/783752/8.12.71.26:27015/orangebox/cstrike/addons/eventscripts/_libs/python/cmdlib.py, line 207, in execute
    self.callback(args)
  File /usr/local/games/css/783752/8.12.71.26:27015/orangebox/cstrike/addons/eventscripts/estpython2/estpython2.py, line 168, in _callback
    if self.callback(args) is False:
  File /usr/local/games/css/783752/8.12.71.26:27015/orangebox/cstrike/addons/eventscripts/estpython2/estpython2.py, line 1746, in give
    for userid in getUseridsFromFilters(args[0]):
  File /usr/local/games/css/783752/8.12.71.26:27015/orangebox/cstrike/addons/eventscripts/estpython2/estpython2.py, line 964, in getUseridsFromFilters
    return map(index, getPlayersFromFilters(filterList))
NameError: global name 'index' is not defined

Code: [Select]
CmdProxy: Internal Error. No such command registered: est_Fade
CmdProxy: Internal Error. No such command registered: est_God
CmdProxy: Internal Error. No such command registered: est_Speed


Offline necavi

  • Level 7 Expert
  • *****
  • Posts: 463
  • Country:
Re: EST replacement / New WCS Python (in works)
« Reply #6 on: June 27, 2010, 01:27:31 PM »
As he has stated multiple times, it is not fully developed or ready yet. Wait until an official RC is out yet, I'd think :P

Offline Doofey

  • Level 1 Trained Beginner
  • *
  • Posts: 29
  • Sharing is caring. Nevert keep it for yourself.
Re: EST replacement / New WCS Python (in works)
« Reply #7 on: June 27, 2010, 01:32:27 PM »
so, does it mean we all will have to code en python now if we use this mod?
or will our races still could be written like the normal, e.g.

Quote
    "name"              "Mage"
    "author"            "|AC|Dragonfly"
    "shortdescription"  ""
    "required_level"    "0"
    "maximum_level"     "0"
    "allow_only"        "<STEAM_0:0:27222122>"
    "teamlimit"         "1"
    "restrict_shop"   "0"
    "preloadcmd"        "0"
    "player_spawn_cmd"  "es est_setplayercolor event_var(userid) 197 197 0 255 1"
    "round_start_cmd"   "0"
    "round_end_cmd"     "0"
    "numberofskills"    "6"
    "numberoflevels"    "7"
    "skillnames"        "Thunder strike|Conjuring|Slow fall|Frost bolt|Mana shield|Fireball|Teleport"
    "skilldescr"        "Small chance that a lightning strikes your enemy|Recieve a mage weapon when you spawn|Reduced gravity|Increases your health slightly|Chance to set your enemy on fire|Teleport to the location you aim at, on cost of ur mana (money 150$)"
    "skillcfg"          "player_attacker|player_spawn|player_spawn|player_attacker|player_spawn|player_ultimate"

    "skill1_setting"    "es_xset wcs_chance 1;es_xset wcs_shock 40|es_xset wcs_chance 2;es_xset wcs_shock 40|es_xset wcs_chance 3;es_xset wcs_shock 40|es_xset wcs_chance 4;es_xset wcs_shock 40|es_xset wcs_chance 5;es_xset wcs_shock 40|es_xset wcs_chance 6;es_xset wcs_shock 40|es_xset wcs_chance 7;es_xset wcs_shock 40"
    "skill1_cmd"   "if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xdoblock wcs/WCSultimates/Lightningshock
    "skill1_sfx"   "es_doblock wcs/WCSultimates/wcs_ulti_magesfx"

    "skill2_setting"    "es_xset wcs_chance 25|es_xset wcs_chance 35|es_xset wcs_chance 45|es_xset wcs_chance 55|es_xset wcs_chance 65|es_xset wcs_chance 75|es_xset wcs_chance 85"
    "skill2_cmd"        "if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_delayed 0.5 wcs_giveitem event_var(userid) weapon_mpn5avy;if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_tell event_var(userid) : You conjured yourself a weapon"
    "skill2_sfx"        "es_doblock wcs/WCSultimates/wcs_ulti_magesfx2"

    "skill3_setting"    "es_set wcs_gravity 0.83|es_set wcs_gravity 0.71|es_set wcs_gravity 0.67|es_set wcs_gravity 0.58|es_set wcs_gravity 0.48|es_set wcs_gravity 0.45|es_set wcs_gravity 0.31"
    "skill3_cmd"        "es_delayed 2 est_SetGravity event_var(userid) server_var(wcs_gravity);es_keysetvalue WCSuserdata event_var(userid) gravity server_var(wcs_gravity)"
    "skill3_sfx"        "es_doblock wcs/WCSultimates/wcs_ulti_magesfx3"

    "skill4_setting"    "es_set wcs_speed 0.75;es_set wcs_duration 2|es_set wcs_speed 0.65;es_set wcs_duration 3|es_set wcs_speed 0.60;es_set wcs_duration 4|es_set wcs_speed 0.55;es_set wcs_duration 5|es_set wcs_speed 0.55;es_set wcs_duration 6"
    "racealias_frbolt"  "es est_speed event_var(userid) server_var(wcs_speed);es_delayed server_var(wcs_duration) wcs_removefx speed event_var(userid)"
    "skill4_cmd"        "if (server_var(wcs_dice) <= 65) then est_isalive wcs_alive event_var(userid);if (server_var(wcs_dice) <= 65) then es_if (server_var(wcs_alive) = 1) then racealias_frbolt"
    "skill4_sfx"        "es_doblock wcs/WCSultimates/wcs_ulti_magesfx4"

    "skill5_setting"    "es_set wcs_addhealth 10|es_set wcs_addhealth 15|es_set wcs_addhealth 20|es_set wcs_addhealth 25|es_set wcs_addhealth 30|es_set wcs_addhealth 35|es_set wcs_addhealth 40"
    "skill5_cmd"        "es est_playplayer event_var(userid) weapons\explode3.wav;es es_delayed 0.6 est_playplayer event_var(userid) weapons\explode3.wav;es est_Health event_var(userid) + server_var(wcs_addhelth);es_tell event_var(userid) #multi #lightgreen Your #green Mana shield #lightgreen increased your health by server_var(addhealth)"
    "skill5_sfx"        "es_doblock wcs/WCSultimates/wcs_ulti_magesfx5"

    "skill6_setting"    "es_setinfo wcs_dur 1.0|es_setinfo wcs_dur 1.7|es_setinfo wcs_dur 2.4|es_setinfo wcs_dur 3.0|es_setinfo wcs_dur 3.4|es_setinfo wcs_dur 3.7|es_setinfo wcs_dur 4.0"
    "skill6_cmd"        "es est_burn event_var(userid) server_var(wcs_dur)"
    "skill6_sfx"        "es_doblock wcs/WCSultimates/wcs_ulti_magesfx6"

    "skill7_setting"    "es_set wcs_range 300|es_set wcs_range 400|es_set wcs_range 500|es_set wcs_range 600|es_set wcs_range 700|es_set wcs_range 800|es_set wcs_range 900"
    "skill7_cmd"        "es_doblock wcs/WCSultimates/wcs_ulti_teleport"
    "skill7_sfx"        "es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid);es est_effect 7 #a 0 sprites/smoke.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 40 1"
    "ultimate_cooldown" "5"


Feel free to give me constructive criticism.

Offline Volunterrors

  • Level 5 Trained Intermediate
  • *****
  • Posts: 108
    • Warcraft Phoenix Forum
Re: EST replacement / New WCS Python (in works)
« Reply #8 on: June 27, 2010, 01:33:08 PM »
Well I still want to make sure he knows what the bugs are. Here's another...

Code: [Select]
Traceback (most recent call last):
  File /usr/local/games/css/783752/8.12.71.26:27015/orangebox/cstrike/addons/eventscripts/es.py, line 264, in triggerEvent
    self.EventListeners[eventname][listener](event_var)
  File /usr/local/games/css/783752/8.12.71.26:27015/orangebox/cstrike/addons/eventscripts/estpython2/estpython2.py, line 902, in player_activate
    delays.addPlayer(event_var['userid'])
  File /usr/local/games/css/783752/8.12.71.26:27015/orangebox/cstrike/addons/eventscripts/estpython2/estpython2.py, line 224, in addPlayer
    if userid not in self.delayObjects:
TypeError: argument of type 'DelayObject' is not iterable

Offline necavi

  • Level 7 Expert
  • *****
  • Posts: 463
  • Country:
Re: EST replacement / New WCS Python (in works)
« Reply #9 on: June 27, 2010, 01:42:22 PM »
Fair enough...and no, from my understanding of this mod, it will still work with ES:S (Unless he makes it so it specifically CAN'T).

Offline Phatman

  • Level 7 Expert
  • *****
  • Posts: 262
  • Country: us
  • Nom Nom Nom! Sandvich!
Re: EST replacement / New WCS Python (in works)
« Reply #10 on: June 27, 2010, 10:19:51 PM »
Keep up the good work! You will be reconized on my server as a hero if you get this finsihed soon!  ;)

Offline gimik

  • Level 7 Expert
  • *****
  • Posts: 320
Re: EST replacement / New WCS Python (in works)
« Reply #11 on: June 27, 2010, 11:06:31 PM »
Fair enough...and no, from my understanding of this mod, it will still work with ES:S (Unless he makes it so it specifically CAN'T).

This is true but the whole reason he's making WCS:P is to replace EST commands since they no longer work.

So Doffer99, the answer would be yes and no, no because skills like
Code: [Select]
"skill3_cmd"        "es_delayed 2 est_SetGravity event_var(userid) server_var(wcs_gravity);will no longer work




Offline freddukes

  • Level 7 Expert
  • *****
  • Posts: 359
  • Country:
Re: EST replacement / New WCS Python (in works)
« Reply #12 on: June 28, 2010, 09:08:12 AM »
Fair enough...and no, from my understanding of this mod, it will still work with ES:S (Unless he makes it so it specifically CAN'T).

This is true but the whole reason he's making WCS:P is to replace EST commands since they no longer work.

So Doffer99, the answer would be yes and no, no because skills like
Code: [Select]
"skill3_cmd"        "es_delayed 2 est_SetGravity event_var(userid) server_var(wcs_gravity);will no longer work

After I finish with est_commands most est_ commands will work; so in short, yes... The majority of your races will work. However, there's a catch. The OB is not the same as the CSS engine, and there are LOTS of issues (on is if you give a weapon to a player too close to a certain event, you'll get instant crashes)... This is what's taking my time up, trying to find ways around this. Since the new ESS is now up, I'll try and release this script ASAP.

-freddukes

Offline MiBShidobu

  • Level 7 Expert
  • *****
  • Posts: 1629
  • Country: us
Re: EST replacement / New WCS Python (in works)
« Reply #13 on: June 28, 2010, 09:15:20 AM »
Freddukes if you need help on this I'll help you with what ever you need.
Also thanks alot for doing this.
Quote from: Tha Pwned
2:35 PM - La Muerte: pwned + forum = fail
2:36 PM - Tha Pwned: +1
2:36 PM - Tha Pwned: Don't quote

Offline Volunterrors

  • Level 5 Trained Intermediate
  • *****
  • Posts: 108
    • Warcraft Phoenix Forum
Re: EST replacement / New WCS Python (in works)
« Reply #14 on: June 28, 2010, 11:20:35 AM »
Is there an ETA for the EST replacement? Thanks for making it.