Download: www.ownageclan.com/war3source
This branch focuses on SuperHero:Source integration and shopmenu2 (global paid items) for war3source
WARNING: backup all databases and server files. Expect this release to be buggy. The faster you can find these bugs, the faster i can fix them.
Make sure you update translations, extensions, gamedata...etc
Files may have been renamed
ALL CUSTOM RACES AND ADDONS MUST BE RE-COMPILED
INTERFACE CHANGE:
These functions have changed, please modify your race accordingly
---
OLD War3_CooldownMGR(client,
Float:cooldownTime,
raceid,
skillNum,
bool:resetOnSpawn=true,
bool:resetOnDeathNOLONGERUSED=true,
bool:printMsgOnExpireByTime=true,
String:CDNDEPRECATEDPARAM[]="");
NEW War3_CooldownMGR(client,Float:cooldownTime,raceid,skillNum,bool:resetOnSpawn=true,bool:printMsgOnExpireByTime=true);
-----
OLD W3SkillCooldownOnSpawn(raceid,skillnum,Float:cooldownTime,bool:printmsg=true,String:skillnameDEPRECATEDPARAM[]);
NEW W3SkillCooldownOnSpawn(raceid,skillnum,Float:cooldownTime,bool:printmsgonexpire=true);
-----
-----
OLD OnRaceSelected(client,newrace)
NEW OnRaceChanged(client,oldrace,newrace)
-----
CHANGED stock W3PrintSkillDmgConsole(victim=0,attacker,damage,SKILL_NUM){
CHANGED stock W3PrintSkillDmgHint(victim=0,attacker,damage,SKILL_NUM){
now takes the skill num in the last argument instead of the skill name, automatically gets the correct translation, ie SKILL_LEECH or ULT_SUICIDE
------
OLD public APLRes:AskPluginLoad2
NEW public APLRes:AskPluginLoad2Custom
interface needs AskPluginLoad2 now, your race needs to use the ...Custom
All files beginning with SH_ are NOT required to run war3source in 1.2.1.2/+, if you copy them to your plugins folder, they shall not interfere with war3source, if they do report it as a bug.
All War3source files are required to run SH
Post new heroes in the races forum, and hero fixes of the package heroes directly in this topic.
To enable SuperHero:Source mode:
type shmode in server console, restart server
Make sure you check your error logs if server doesn't start.
Priority of getting bugs fixed:
war3source feature not working
anything interfering with war3source
SH feature not working
anything interfering with SH
print text issues (such as using [War3Source] instead of [SH])
1.2.1.x
B8
limit outstanding socket 2 connections to 200
player class property: LastChangeTeamTime to remember when the player last changed team
removing a player from a limited race is now by LastChangeTeamTime
Damage Engine improved
Checks for when dealdamage and damageModPercent can be called for consistency
damagemodpercent can only be called in:
forward OnW3TakeDmgAllPre(victim,attacker,Float:damage);
forward OnW3TakeDmgBulletPre(victim,attacker,Float:damage);
dealdamage can NOT be called on the above.
native W3GetDamageStack(); to get the stack depth
Races modified to fit the damage system
ORC prints correct damage
return damage based on post hurt, real damage values
stock W3PrintSkillDmgConsole(victim=0,attacker,damage,skillnum){
stock W3PrintSkillDmgHint(victim=0,attacker,damage,SKILLNUM){
now takes the skill num in the last argument instead of the skill name, automatically gets the correct translation
stats engine sockets 1 merged with sockets 2. Queues requests on error / timeout
B7
fixes OnRaceChanged and OnRaceSelected (note OnRaceSelected is deprecated)
B6
database connection separated into own engine, game mode specific engines handle the rest
war3_show_sockets_error cvar created, default 0, prevents socket error spam
possible savexp fix:
on disconnect: save xp, reset all player variables, then subsequently retriggerd a save on a zeroed out race.
this mechanism has been there for a long time, don't know why it wasn't found until now
renamed many engines
B5
recompiled after april 14 update
INTERFACE CHANGE, moved AskPluginLoad2Custom to interface, required for early operations. (only affects those that register natives and forwards)
Fixed shadow hunter aura leak
deprecation: OnRaceChanged will change to OnRaceChanged(client,oldrace,newrace) for easier race management
SH: added minlevel
SH: some native renaming for SH/W3 ie W3GetReqXP -> SHGetReqXP as these are in different engines
war3 cvarid = 0 is no longer used, can help catch some errors
graceful unload via AskPluginLoad2
faster initial system failure check to prevent spam
B4
INTERFACE CHANGE, FULL RECOMPILE OF CUSTOM PLUGINS REQUIRED
shopmenu2 translated, thanks to schmarotzer
major documentation changes
changed how game mode is determined to work with linux. Thanks to CGA for proving a linux server
b3
hp REGENERATION ENGINE
Aura tracking engine
shadow hunter and shop items now use HP regen engine
shadow hunter now uses aura tracking
human teleport range reduced to 1000 from 1200 max
shadow hunter now has a static heal distance of 500
B2
INTERFACE CHANGE, FULL RECOMPILE OF CUSTOM PLUGINS REQUIRED
SH_ files no longer required for war3
War3Source_SH_Mode renamed to War3Source_SH_Mode_Select, this file is always required!
Many additional features
shopmenu2 currency = diamonds
no diamonds are currently given, however all shopmenu2 items are free currently
diamonds are saved like xp, database will automatically change
three items are available, boots has effect, the other 2 doesnt do anything right now
batgirl added - ported from old SH Source
B1
SUPERHERO SOURCE INTEGRATION, ALL PLUGINS ARE REQUIRED
INTERFACE CHANGE, FULL RECOMPILE OF CUSTOM PLUGINS REQUIRED
fixed war3_orc_nocritgloves
invis weapon attatchments on css players (not working, test code is there)
1fixed setlevel as custom 6 flag (t) to rcom
playerinfo was displaying own armor
ShowXP was not always displaying correct translation
showskills -> myinfo (in helpmenu)
removed deprecated functions
dont show menu when buying item via say, and could not afford item
Hammerstorm tranlated
check restricted items on SetRace
level 7 gains less xp fix
removed empty functions
increased stack size, maybe it would prevent errors?






Logged
DarkEnergy
