Author Topic: 1.2.2.x  (Read 26620 times)

Ownz

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2437
  • chmod -R 777 *
    • View Profile
    • OwnageClan
1.2.2.x
« on: May 15, 2011, 12:34:48 PM »
Download: www.ownageclan.com
war3source link on left

1.2.2.9 is considered FINAL STABLE

Main features are extensions for objects, and hints printout engine

WARNING: backup all databases and server files.
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
what has been bolded means it has been removed or changed
---
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 pass 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.2


B9 (FINAL STABLE)

fixed some dependencies and native errors
fixed error when awarding xp without race
1 diamond is given per second for each player on a team
XPGold engine now split for separate mods
W3GetKillXP accepts client again
W3GiveXPGold no longer accepts race and will automatically uses current race
reduced shadow hunter ult duration by 0.33
some effects are by apparrent team on tf2 (spy)
some effects wont display if player is invis (tf)
fixed race list when a race has "hidden" flag
weapon firing rate modification on disarm
"Cannot invis, being revealed" will be printed if the player is denied invis when the player would normally be (partially) invis

changes to intro menu
war3_introclanname cvar for customizing the intro menu, ie: Welcome to "war3_introclanname" war3source server!
war3_clanurl cvar for customizing the intro menu
Translators: please change the translations for intromenu

test race: SCOUT


B8

war3_hint_enabled removed

tweaks in chancerace menu handling

fHPDecay buff for continuous loss of HP, no proper kill credits yet
Sacred Warrrior now uses fHPRegen buff and fHPDecay
Soul reaper now uses Aura tracking and fHPDecay

SMBatchCompile.exe updated, using compile.exe to compile. .sp files are randomly spread across 4 compile threads

buffs for speed gravity and glow are calculated in a seprate engine

moved claw damage to posthurt
optimized shopitems 1

succubs assault tackle cooldown is now 10 (why it was at 3 idk)

fixed damage recieved displayed in improper language

optimized aura engine

cvar war3_max_shopitems and war3_max_shopitems2 for limits on how many items a person can have for each shopmenu

suiciding on spy is not allowed

W3Denyable(event id, client) and W3Deny() is a
simple system of messaging where one plugin initiates a W3Denyable call and another addon would hook and call W3Deny() to block.
this allows main engine to expose control paths to addons.
this is just an easier event than War3Event but offers less flexibility.
for an example, see undead and addon_nospysuicide

banish reduced to 0.4 duration and no longer changes the victim's aim


B7

Glider 010711:
   * New function in the Interface: bool:War3_IsL4DZombieEntity(iEntity)
      * Shortcut for War3_IsCommonInfected(iEntity) || War3_IsWitch(iEntity)
        * Also returns false if the game engine is not l4d!
      
   * Damage System engine:
      * Check if a player is valid before checking if we should check immunitys
      * Replaced some checks with War3_IsL4DZombieEntity

TF2 Speed buff system fixed. It did not set speed to zero when intended, so we now set speed to 1.0000


B6

Glider:
   * Added new stock War3_PrecacheParticle(String:particlename[]) to precache particles
      * Please note that this will not add the Particle to the download table automatically!
   * Precache the achieved particle in the level up particle addon for games that use iT
      
   * EXPERIMENTAL L4D2 SUPPORT! (I have not tested L4D1 and don't plan to anytime soon)
      * TAKE EVERYTHING IN HERE WITH A GRAIN OF SALT!
      * SOME OF THE THINGS ARE STILL BUGGY/NOT FULLY IMPLEMENTED YET!
      * PLEASE REFER TO THE FORUMS FOR MORE INFORMATION!
   
   + Engine/Addon Changes
   * Added UI/hint.wav to the files that are supposed to be precached since it wasn't on L4D2
   * Made LevelUpParticle work for L4D2
   * Prevented sounds from being added to the downloads table on a l4d/2 server
   * Changed the damage engine to properly handle common infected and witches
   * Changed the changerace code to allow race changing while standing in a saferoom on l4d/2
      * Added an addon that allows race changing for the first few minutes on maps that don't have
        a saferoom
     * Allow race change in a survival game that has not started yet
     * Added special/common/uncommon infected aswell as the witch to the xp engine so you get credit for killing/surviving
        * Lots of cvars to tweak these values for your server! Look out for war3_l4d
        * Some of these don't seem to work properly yet (defib...)
   * When somebody calls "resetskills" their skills will be reset next time they enter a saferoom
      * If you are already in a saferoom you need to go out and back in currently
        
   + Include changes
   * Don't load any offsets when the engine is l4d/2
   * Added some new constants for W3XPAwardedBy. I'm not too fond of them, so they might disappear or be changed soon
   * W3IsDamageFromMelee returns correctly for l4d2
   * Added lots of new stuff to the War3Source_Interface
      * bool:War3_IsL4DEngine()
         * shortcut for checking if the engine is l4d or l4d2
      * bool:War3_IsCommonInfected(iEntity)
         * Check if iEntity is a zombie entity (common or uncommon)
      * bool:War3_IsUncommonInfected(iEntity)
         * Check if iEntity has a uncommon zombie model
      * bool:War3_IsWitch(iEntity)
         * Check if iEntity is a witch
      * GetSurvivorTempHealth(client)
         * Get the amount of temporary health (pills/adrenaline...) a client has
      * SetSurvivorTempHealth(client, hp)
         * Set the value of the temporary health (pills/adrenaline) of client to hp
      * GetMaxMagSize(const String:weapon[])
         * Returns the max amount of ammo a mag can hold for the given gun. I have only added the values for l4d, so please port this for tf2/css/dod:s
      * GetMaxBackupAmmo(const String:weapon[])
         * Returns the max amount of ammo a gun can hold as backup. I have only added the values for l4d, so please port this for tf2/css/dod:s



war3_hint_enabled 0/1 cvar for hint engine, why would you ever turn it off though? you can still see the votes.
EXT: fixed possible startup hang on linux

REDUCED default chance modifiers of sentry shots and burn shots to 0.1 (from 0.125)

crypt and naix now have chance modifiers implemented on posthurt
fixed other chance modifiers

only allow 1 death message that is forwarded per frame per victim maximum to prevent double xp kills

TF ONLY: chance modifier change, chance is now based on time since last bullet hit.
linearly reduced as last hit time goes from 1.0 seconds ago to 0.0 seconds ago.
(if last hit was X seconds ago, chance is reduced to X percent chance on top of the original chance when implemented correctly)
W3ChanceModifier returns 1.0 if last damage was longer than 1.0 seconds.
Chance modifier time interval is only triggered on "bullet" damage

TF ONLY: claw damage is now PER SECOND (default to 15) equivalent
except first shot (first shot deals 50% of that damage),  
that means low rate of fire weapons like rocket launcher won't always reach 15 damage per second.
this algorithm may be changed later


fixed naix leeching off self damage
naix feast prints hp gained to console
fixed incorrect semaphore behavior on linux, causing servers to hang after 20 seconds

B5

fixed rewarding extra xp for melee kills
some xp reward cvars have changed by default
added giving XP for touching hostages and losing xp for killing one

additional translations: (please translate the following 5 phrases, notice these are "lost" not "gained" )
You have lost {amount} XP and {amount} gold for {award}"
You have lost {amount} XP for {award}"
You have lost {amount} gold for {award}"
"killing a hostage"
"touching a hostage"

touching hostage gains same amount as rescue
killing hostage loses twice as much as rescue

fixed translation not found error for sh._common
system check is now case insensitive

extension:
now correctly updates server info to master server
feature: automatic gamedata updates




B4

level up print prints the race (please translate, its in War3Source_Addon_LevelUpParticle)
discovered a sourcemod bug, replacestring not respecting max length and overwriting other people's memory, resulted in infinite loop.
buffer sizes have increased to counter this problem for now, this may also fix stack errors
Thanks to Dragonfly for allowing Ownz to diagnose the problem on his server.

FIXED orc chain lighning cooldown

B3

marked natives as optional, for debugging purposes
removed DLL visual studio redistrubutable dependency
fixed and improved hint engine and cooldown engine to work with tf2 correctly


B2

database not connected warning in race/hero menu
print plugin name when damage engine errors one a few specific errors
sdkhooks.inc and sockets.inc how packaged inside w3incs, those will be used by the .sp files

fixed cooldownmgr handle leak

B1

Extensions are now used, update the extensions folder!!
Report as bug if they do not load or have errors!
I can help you setup, PM ownz

skillcount now ignores zero, aka skillnum of zero is invalid, if your race uses hard coded numbers, they will have errors
loop from 1 to skillcount

levels should not be lost, however:
you SHOULD BACKUP YOUR DATABASE
last skill will lose levels due to shift in skill level storage:
[4 4 4 4] -> [4 4 4 0] but still level 16

skillid of 0 is now invalid

HINT engine, one plugin to manage all hint messages
attaches other messages to itself for compatability

Object engine:
for flexible data management, psudo object oriented approach, can be used as arraylists
« Last Edit: July 27, 2011, 05:49:43 PM by Ownz »

Frenzzy

  • Full Member
  • ***
  • Posts: 218
    • ICQ Messenger - 337905984
    • MSN Messenger - frenzzy@live.ru
    • View Profile
    • http://css.vsevnet.ru/
Re: 1.2.2.x beta
« Reply #1 on: May 15, 2011, 03:50:37 PM »
About the new HINT engine:
- If skill is not leveled, cooldown timer still works (W3SkillCooldownOnSpawn) and near displayed message such as "Your Ultimate is not leveled".
- If player change race (race limit on team, change race by admin, etc.), cooldown timer displayed messages from old race.

---

Due to recent changes War3_CooldownMGR and OnRaceChanged, maybe you can change "bool:isult" in War3_AddRaceSkill and War3_AddRaceSkillT, for example:

thisRaceID War3_CreateNewRaceT("some");
SKILL_001 War3_AddRaceSkillT(thisRaceID"SkillName"skill4);
SKILL_002 War3_AddRaceSkillT(thisRaceID"SkillName"ability4);
SKILL_003 War3_AddRaceSkillT(thisRaceID"SkillName"ability14);
SKILL_004 War3_AddRaceSkillT(thisRaceID"SkillName"ultimate4);


This will add more useful information for players in menus:

[W3S] Information for race: Race Name (LVL 16/16)
Skill: Skill Name (LVL 4/4)
Ability: Skill Name (LVL 4/4)
Ability1: Skill Name (LVL 4/4)
Ultimate: Skill Name (LVL 4/4)


---

The War3Source_Interface has W3MsgUltNotLeveled(client), but there is no:

W3MsgAbilityNotLeveled(client) or W3MsgSkillNotLeveled(client, SKILL_NUM)

..this text is very often used in other races. Please add these functions.

---

Where can we see 'extensions' source code?
O_o

Ownz

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2437
  • chmod -R 777 *
    • View Profile
    • OwnageClan
Re: 1.2.2.x beta
« Reply #2 on: May 15, 2011, 04:36:22 PM »
Skill Name [ability] (LVL x/x)

its very easy to run out of space

ill make something compatible with isUlt

wait for full release for source code

hint still needs alot of work

[Oddity]TeacherCreature

  • Sr. Member
  • ****
  • Posts: 467
    • View Profile
Re: 1.2.2.x beta
« Reply #3 on: May 16, 2011, 11:44:34 AM »
have to ask why?

why bother to change skill level 0 as invalid?
con: makes players not have levels,
pro ????


also did skillname string to skil number make a huge memory/speed difference?
I am sure it made a little difference but now it makes alot more older stuff unuseable

I dont run new version so I can not recompile my old races so now when people email me constantly for races I have to either recompile them or tell them they dont work anymore cause ownz changed from a string to a num :(

Ownz

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2437
  • chmod -R 777 *
    • View Profile
    • OwnageClan
Re: 1.2.2.x beta
« Reply #4 on: May 16, 2011, 03:16:04 PM »
0 becomes invalid

Frenzzy

  • Full Member
  • ***
  • Posts: 218
    • ICQ Messenger - 337905984
    • MSN Messenger - frenzzy@live.ru
    • View Profile
    • http://css.vsevnet.ru/
Re: 1.2.2.x beta
« Reply #5 on: May 20, 2011, 08:55:37 AM »
My requests for new HINT Engine:

1. All hint messages belonging to single skill replaced each other and did not appear on different strings:



2. Do not create a blank string between different messages:



3. Opportunity to not displayе for cooldown hint messages:
For example we have a passive skill that does not need to show cooldown messages.
O_o

Ownz

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2437
  • chmod -R 777 *
    • View Profile
    • OwnageClan
Re: 1.2.2.x beta
« Reply #6 on: May 20, 2011, 09:37:07 AM »
its going to get complicated without the object engine, and i want to see everyone can use it

Frenzzy

  • Full Member
  • ***
  • Posts: 218
    • ICQ Messenger - 337905984
    • MSN Messenger - frenzzy@live.ru
    • View Profile
    • http://css.vsevnet.ru/
Re: 1.2.2.x beta
« Reply #7 on: May 20, 2011, 10:18:19 AM »
"You may not set damage mod percent here, use ....Pre forward"
Can you add race name in this error message?

I installed War3Source v1.2.2.1 on my test server, and after some time war3 mode stop working (menus, races, skills, etc.). Change map does not help. Error logs is empty.
O_o

Ownz

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2437
  • chmod -R 777 *
    • View Profile
    • OwnageClan
Re: 1.2.2.x beta
« Reply #8 on: May 20, 2011, 10:29:47 AM »
after some time?

Frenzzy

  • Full Member
  • ***
  • Posts: 218
    • ICQ Messenger - 337905984
    • MSN Messenger - frenzzy@live.ru
    • View Profile
    • http://css.vsevnet.ru/
Re: 1.2.2.x beta
« Reply #9 on: May 20, 2011, 10:47:57 AM »
Yes, after some time:

[sm plugins list] Load Errors:
War3Source: Depends on plugin: war3source\War3Source_Engine_CooldownMgr.smx
Race - Human Alliance: Depends on plugin: war3source\War3Source_Engine_CooldownMgr.smx
Race - Orcish Horde: Depends on plugin: war3source\War3Source_Engine_CooldownMgr.smx
Race - Night Elf: Depends on plugin: war3source\War3Source_Engine_CooldownMgr.smx
Race - Blood Mage: Depends on plugin: war3source\War3Source_Engine_CooldownMgr.smx
Race - Shadow Hunter: Depends on plugin: war3source\War3Source_Engine_CooldownMgr.smx
Race - Warden: Depends on plugin: war3source\War3Source_Engine_CooldownMgr.smx
Race - Crypt Lord: Depends on plugin: war3source\War3Source_Engine_CooldownMgr.smx
Race - Corrupted Disciple: Depends on plugin: war3source\War3Source_Engine_CooldownMgr.smx
Race - Soul Reaper: Depends on plugin: war3source\War3Source_Engine_CooldownMgr.smx
Race - Blood Hunter: Depends on plugin: war3source\War3Source_Engine_CooldownMgr.smx
Race - Lifestealer: Depends on plugin: war3source\War3Source_Engine_CooldownMgr.smx
Race - Succubus Hunter: Depends on plugin: war3source\War3Source_Engine_CooldownMgr.smx
Race - Chronos: Depends on plugin: war3source\War3Source_Engine_CooldownMgr.smx
Race - Lich: Depends on plugin: war3source\War3Source_Engine_CooldownMgr.smx
Race - Sacred Warrior: Depends on plugin: war3source\War3Source_Engine_CooldownMgr.smx
Race - Hammerstorm: Depends on plugin: war3source\War3Source_Engine_CooldownMgr.smx
W3S Engine Statistics: Depends on plugin: war3source\War3Source_Engine_CooldownMgr.smx
W3S - Shopitems: Depends on plugin: war3source\War3Source_Engine_CooldownMgr.smx
O_o

Ownz

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2437
  • chmod -R 777 *
    • View Profile
    • OwnageClan
Re: 1.2.2.x beta
« Reply #10 on: May 20, 2011, 10:53:58 AM »
find out why cooldownmgr died, sm plugins info it

Frenzzy

  • Full Member
  • ***
  • Posts: 218
    • ICQ Messenger - 337905984
    • MSN Messenger - frenzzy@live.ru
    • View Profile
    • http://css.vsevnet.ru/
Re: 1.2.2.x beta
« Reply #11 on: May 20, 2011, 01:34:58 PM »
sm plugins info does not contain any useful information

Here is a list of plugins before failure:

Code: [Select]
] sm plugins list
[SM] Listing 99 plugins:
  01 "Admin File Reader" (1.3.6) by AlliedModders LLC
  02 "Admin Help" (1.3.6) by AlliedModders LLC
  03 "Admin Menu" (1.3.6) by AlliedModders LLC
  04 "Anti-Flood" (1.3.6) by AlliedModders LLC
  05 "Basic Ban Commands" (1.3.6) by AlliedModders LLC
  06 "Basic Chat" (1.3.6) by AlliedModders LLC
  07 "Basic Comm Control" (1.3.6) by AlliedModders LLC
  08 "Basic Commands" (1.3.6) by AlliedModders LLC
  09 "Basic Info Triggers" (1.3.6) by AlliedModders LLC
  10 "Basic Votes" (1.3.6) by AlliedModders LLC
  11 "Client Preferences" (1.3.6) by AlliedModders LLC
  12 "Dynamic MOTD Replacer" (2.0.1) by psychonic
  13 "W3S Engine Database Connect" (1.0) by Ownz (DarkEnergy)
  14 "Engine Hint Display" (1.0) by Ownz
  15 "Engine Log Error" (1.0) by Ownz
  16 "Engine Obj test" (1.0) by Ownz
  17 "Forlix DeadChat" (1.15) by Forlix (Dominik Friedrichs)
  18 "Fun Commands" (1.3.6) by AlliedModders LLC
  19 "Fun Votes" (1.3.6) by AlliedModders LLC
  20 "Nextmap" (1.3.6) by AlliedModders LLC
  21 "Player Commands" (1.3.6) by AlliedModders LLC
  22 "Reserved Slots" (1.3.6) by AlliedModders LLC
  23 "SM File/Folder Downloader and Precacher" (1.4) by SWAT_88
  24 "Sound Commands" (1.3.6) by AlliedModders LLC
  25 "War3Source" (1.2.2.1) by PimpinJuice and Ownz (DarkEnergy)
  26 "Race - Undead Scourge" (1.0.0.0) by PimpinJuice
  27 "Race - Human Alliance" (1.0.0.0) by PimpinJuice
  28 "Race - Orcish Horde" (1.0.0.0) by PimpinJuice
  29 "Race - Night Elf" (1.0.0.0) by PimpinJuice
  30 "Race - Blood Mage" (1.0.0.0) by PimpinJuice & Ownz (DarkEnergy)
  31 "Race - Shadow Hunter" (1.0.0.0) by PimpinJuice & Ownz (DarkEnergy)
  32 "Race - Warden" (1.0.0.0) by PimpinJuice & Ownz (DarkEnergy)
  33 "Race - Crypt Lord" (1.0.0.0) by PimpinJuice & Ownz (DarkEnergy)
  34 "Race - Corrupted Disciple" (1.0) by PimpJuice and Ownz (DarkEnergy)
  35 "Race - Soul Reaper" (1.0) by Ownz (DarkEnergy)
  36 "Race - Blood Hunter" (1.0) by Ownz (DarkEnergy)
  37 "Race - Lifestealer" (1.0) by Stinkyfax and Ownz (DarkEnergy)
  38 "Race - Succubus Hunter" (2.0.6) by DisturbeD
  39 "Race - Chronos" (1.0.0.0) by Ownz (DarkEnergy)
  40 "Race - Lich" (1.0.0.0) by [Oddity]TeacherCreature
  41 "Race - Sacred Warrior" (1.1) by Ted Theodore Logan / modified by Ownz (DarkEnergy)
  42 "Race - Hammerstorm" (1.2) by Ted Theodore Logan
  43 "W3S Addon - Ammo Control" (1.2) by Frenzzy
  44 "W3S Addon - Block Protection" (1.4) by Frenzzy
  45 "W3S - Addon - Display Particles on Level Up" (1.2) by Ted Theodore Logan & xDr.HaaaaaaaXx
  46 "War3Source Admin Console" (1.0) by Ownz (DarkEnergy)
  47 "War3Source war3admin" (1.0) by Ownz (DarkEnergy)
  48 "W3S Engine Aura" (1.0) by Ownz (DarkEnergy)
  49 "W3S Engine Buff Tracker (Buff helper)" (1.0) by Ownz (DarkEnergy)
  50 "War3Source Buff System" (1.0) by Ownz (DarkEnergy)
  51 "W3S Engine Command Hooks" (1.0) by Ownz (DarkEnergy)
  52 "W3S Engine Cooldown Manager" (1.0) by Ownz (DarkEnergy)
  53 "W3S Engine Damage" (1.0) by Ownz (DarkEnergy)
  54 "W3S Engine Database save xp" (1.0) by Ownz (DarkEnergy)
  55 "W3S Engine Database top100" (1.0) by Ownz (DarkEnergy)
  56 "War3Source Events" (1.0) by Ownz (DarkEnergy)
  57 "War3Source help menu" (1.0) by Ownz (DarkEnergy)
  58 "W3S Engine Item Class" (1.0) by Ownz (DarkEnergy)
  59 "W3S Engine Item Class 2" (1.0) by Ownz (DarkEnergy)
  60 "W3S Engine Item2 Database" (1.0) by Ownz (DarkEnergy)
  61 "W3S Engine Item Ownership" (1.0) by Ownz (DarkEnergy)
  62 "W3S Engine Item2 Ownership" (1.0) by Ownz (DarkEnergy)
  63 "War3Source Menus changerace" (1.0) by Ownz (DarkEnergy)
  64 "War3Source Menus itemsinfo" (1.0) by Ownz (DarkEnergy)
  65 "War3Source Menus playerinfo raceinfo" (1.0) by Ownz (DarkEnergy)
  66 "War3Source Menus Shopmenus" (1.0) by Ownz (DarkEnergy)
  67 "War3Source Menus Shopmenus 2" (1.0) by Ownz (DarkEnergy)
  68 "War3Source Menu spendskills" (1.0) by Ownz (DarkEnergy)
  69 "War3Source war3menu" (1.0) by Ownz (DarkEnergy)
  70 "W3S Engine player class" (1.0) by Ownz (DarkEnergy)
  71 "W3S Engine Player Collisions" (1.0) by Ownz (DarkEnergy)
  72 "W3S Engine Death Weapons" (1.0) by Ownz (DarkEnergy)
  73 "W3S Engine LevelBank" (1.0) by Ownz (DarkEnergy)
  74 "W3S Engine Player Trace" (1.0) by Ownz (DarkEnergy)
  75 "W3S Engine Race Class" (1.0) by Ownz (DarkEnergy)
  76 "W3S Engine HP Regen" (1.0) by Ownz (DarkEnergy)
  77 "W3S Engine Statistics" (1.0) by Ownz (DarkEnergy)
  78 "W3S Engine Stats sockets 2" (1.0) by Ownz (DarkEnergy)
  79 "W3S Engine System Check" (1.0) by Ownz (DarkEnergy)
  80 "W3S Engine Trie Key Value" (1.0) by Ownz (DarkEnergy)
  81 "W3S Engine Weapons" (1.0) by Ownz (DarkEnergy)
  82 "W3S Engine XP Gold" (1.0) by Ownz (DarkEnergy)
  83 "War3 Engine ESCompatLayer" (1.0.0.0) by Anthony & Ownz
  84 "W3S - Shopitems" (1.0.0.0) by PimpinJuice
  85 "W3S - Shopitems2" (1.0.0.0) by Ownz
  86 "War3Source Shopitem - AntiWard" (1.0) by [I]Loki
  87 "War3Source Shopitem - Bunny Hopping" (1.2) by Frenzzy
  88 "War3Source Shopitem - Book of Cannibalism" (1.0.7.9) by InsaNe
  89 "War3Source Shopitem - Defuser/Bomb" (1.2) by DQ & Frenzzy
  90 "War3Source Shopitem - Gem of True Sight" (1.0) by Ted Theodore Logan
  91 "War3Source Shopitem - Gloves of Haste" (1.0) by Ted Theodore Logan
  92 "War3Source Shop - Helm" (1.0) by Ownz (DarkEnergy)
  93 "Helm of Purity Shopmenu Item" (1.0) by Voidless, SAMURAI
  94 "War3Source Shopitem - Long Jump" (1.3) by Frenzzy
  95 "Sticky Nades - Shopmenu" (1.0) by Tsunami, changed to shopmenu by Necavi
  96 "War3Source Shopitem - Talisman of Evasion" (1.0) by Ted Theodore Logan
  97 "War3Source Shop - Tripmines" (4.2) by L. Duke & Naris & Frenzzy
  98 "War3Source SHSource switch" (1.0) by Ownz
  99 "War3Source Addon - Spawn Protection" (1.0.0.0) by [Oddity]TeacherCreature

Here is a list of plugins after failure:

Code: [Select]
] sm plugins list
[SM] Listing 98 plugins:
  01 "Admin File Reader" (1.3.6) by AlliedModders LLC
  02 "Admin Help" (1.3.6) by AlliedModders LLC
  03 "Admin Menu" (1.3.6) by AlliedModders LLC
  04 "Anti-Flood" (1.3.6) by AlliedModders LLC
  05 "Basic Ban Commands" (1.3.6) by AlliedModders LLC
  06 "Basic Chat" (1.3.6) by AlliedModders LLC
  07 "Basic Comm Control" (1.3.6) by AlliedModders LLC
  08 "Basic Commands" (1.3.6) by AlliedModders LLC
  09 "Basic Info Triggers" (1.3.6) by AlliedModders LLC
  10 "Basic Votes" (1.3.6) by AlliedModders LLC
  11 "Client Preferences" (1.3.6) by AlliedModders LLC
  12 "Dynamic MOTD Replacer" (2.0.1) by psychonic
  13 "W3S Engine Database Connect" (1.0) by Ownz (DarkEnergy)
  14 "Engine Hint Display" (1.0) by Ownz
  15 "Engine Log Error" (1.0) by Ownz
  16 "Engine Obj test" (1.0) by Ownz
  17 "Forlix DeadChat" (1.15) by Forlix (Dominik Friedrichs)
  18 "Fun Commands" (1.3.6) by AlliedModders LLC
  19 "Fun Votes" (1.3.6) by AlliedModders LLC
  20 "Nextmap" (1.3.6) by AlliedModders LLC
  21 "Player Commands" (1.3.6) by AlliedModders LLC
  22 "Reserved Slots" (1.3.6) by AlliedModders LLC
  23 "SM File/Folder Downloader and Precacher" (1.4) by SWAT_88
  24 "Sound Commands" (1.3.6) by AlliedModders LLC
  25 <Error> "War3Source" (1.2.2.1) by PimpinJuice and Ownz (DarkEnergy)
  26 "Race - Undead Scourge" (1.0.0.0) by PimpinJuice
  27 <Error> "Race - Human Alliance" (1.0.0.0) by PimpinJuice
  28 <Error> "Race - Orcish Horde" (1.0.0.0) by PimpinJuice
  29 <Error> "Race - Night Elf" (1.0.0.0) by PimpinJuice
  30 <Error> "Race - Blood Mage" (1.0.0.0) by PimpinJuice & Ownz (DarkEnergy)
  31 <Error> "Race - Shadow Hunter" (1.0.0.0) by PimpinJuice & Ownz (DarkEnergy)
  32 <Error> "Race - Warden" (1.0.0.0) by PimpinJuice & Ownz (DarkEnergy)
  33 <Error> "Race - Crypt Lord" (1.0.0.0) by PimpinJuice & Ownz (DarkEnergy)
  34 <Error> "Race - Corrupted Disciple" (1.0) by PimpJuice and Ownz (DarkEnergy)
  35 <Error> "Race - Soul Reaper" (1.0) by Ownz (DarkEnergy)
  36 <Error> "Race - Blood Hunter" (1.0) by Ownz (DarkEnergy)
  37 <Error> "Race - Lifestealer" (1.0) by Stinkyfax and Ownz (DarkEnergy)
  38 <Error> "Race - Succubus Hunter" (2.0.6) by DisturbeD
  39 <Error> "Race - Chronos" (1.0.0.0) by Ownz (DarkEnergy)
  40 <Error> "Race - Lich" (1.0.0.0) by [Oddity]TeacherCreature
  41 <Error> "Race - Sacred Warrior" (1.1) by Ted Theodore Logan / modified by Ownz (DarkEnergy)
  42 <Error> "Race - Hammerstorm" (1.2) by Ted Theodore Logan
  43 "W3S Addon - Ammo Control" (1.2) by Frenzzy
  44 "W3S Addon - Block Protection" (1.4) by Frenzzy
  45 "W3S - Addon - Display Particles on Level Up" (1.2) by Ted Theodore Logan & xDr.HaaaaaaaXx
  46 "War3Source Admin Console" (1.0) by Ownz (DarkEnergy)
  47 "War3Source war3admin" (1.0) by Ownz (DarkEnergy)
  48 "W3S Engine Aura" (1.0) by Ownz (DarkEnergy)
  49 "W3S Engine Buff Tracker (Buff helper)" (1.0) by Ownz (DarkEnergy)
  50 "War3Source Buff System" (1.0) by Ownz (DarkEnergy)
  51 "W3S Engine Command Hooks" (1.0) by Ownz (DarkEnergy)
  52 "W3S Engine Damage" (1.0) by Ownz (DarkEnergy)
  53 "W3S Engine Database save xp" (1.0) by Ownz (DarkEnergy)
  54 "W3S Engine Database top100" (1.0) by Ownz (DarkEnergy)
  55 "War3Source Events" (1.0) by Ownz (DarkEnergy)
  56 "War3Source help menu" (1.0) by Ownz (DarkEnergy)
  57 "W3S Engine Item Class" (1.0) by Ownz (DarkEnergy)
  58 "W3S Engine Item Class 2" (1.0) by Ownz (DarkEnergy)
  59 "W3S Engine Item2 Database" (1.0) by Ownz (DarkEnergy)
  60 "W3S Engine Item Ownership" (1.0) by Ownz (DarkEnergy)
  61 "W3S Engine Item2 Ownership" (1.0) by Ownz (DarkEnergy)
  62 "War3Source Menus changerace" (1.0) by Ownz (DarkEnergy)
  63 "War3Source Menus itemsinfo" (1.0) by Ownz (DarkEnergy)
  64 "War3Source Menus playerinfo raceinfo" (1.0) by Ownz (DarkEnergy)
  65 "War3Source Menus Shopmenus" (1.0) by Ownz (DarkEnergy)
  66 "War3Source Menus Shopmenus 2" (1.0) by Ownz (DarkEnergy)
  67 "War3Source Menu spendskills" (1.0) by Ownz (DarkEnergy)
  68 "War3Source war3menu" (1.0) by Ownz (DarkEnergy)
  69 "W3S Engine player class" (1.0) by Ownz (DarkEnergy)
  70 "W3S Engine Player Collisions" (1.0) by Ownz (DarkEnergy)
  71 "W3S Engine Death Weapons" (1.0) by Ownz (DarkEnergy)
  72 "W3S Engine LevelBank" (1.0) by Ownz (DarkEnergy)
  73 "W3S Engine Player Trace" (1.0) by Ownz (DarkEnergy)
  74 "W3S Engine Race Class" (1.0) by Ownz (DarkEnergy)
  75 "W3S Engine HP Regen" (1.0) by Ownz (DarkEnergy)
  76 <Error> "W3S Engine Statistics" (1.0) by Ownz (DarkEnergy)
  77 "W3S Engine Stats sockets 2" (1.0) by Ownz (DarkEnergy)
  78 "W3S Engine System Check" (1.0) by Ownz (DarkEnergy)
  79 "W3S Engine Trie Key Value" (1.0) by Ownz (DarkEnergy)
  80 "W3S Engine Weapons" (1.0) by Ownz (DarkEnergy)
  81 "W3S Engine XP Gold" (1.0) by Ownz (DarkEnergy)
  82 "War3 Engine ESCompatLayer" (1.0.0.0) by Anthony & Ownz
  83 <Error> "W3S - Shopitems" (1.0.0.0) by PimpinJuice
  84 "W3S - Shopitems2" (1.0.0.0) by Ownz
  85 "War3Source Shopitem - AntiWard" (1.0) by [I]Loki
  86 "War3Source Shopitem - Bunny Hopping" (1.2) by Frenzzy
  87 "War3Source Shopitem - Book of Cannibalism" (1.0.7.9) by InsaNe
  88 "War3Source Shopitem - Defuser/Bomb" (1.2) by DQ & Frenzzy
  89 "War3Source Shopitem - Gem of True Sight" (1.0) by Ted Theodore Logan
  90 "War3Source Shopitem - Gloves of Haste" (1.0) by Ted Theodore Logan
  91 "War3Source Shop - Helm" (1.0) by Ownz (DarkEnergy)
  92 "Helm of Purity Shopmenu Item" (1.0) by Voidless, SAMURAI
  93 "War3Source Shopitem - Long Jump" (1.3) by Frenzzy
  94 "Sticky Nades - Shopmenu" (1.0) by Tsunami, changed to shopmenu by Necavi
  95 "War3Source Shopitem - Talisman of Evasion" (1.0) by Ted Theodore Logan
  96 "War3Source Shop - Tripmines" (4.2) by L. Duke & Naris & Frenzzy
  97 "War3Source SHSource switch" (1.0) by Ownz
  98 "War3Source Addon - Spawn Protection" (1.0.0.0) by [Oddity]TeacherCreature
Load Errors:
War3Source: Depends on plugin: War3Source_Engine_CooldownMgr.smx
Race - Human Alliance: Depends on plugin: War3Source_Engine_CooldownMgr.smx
Race - Orcish Horde: Depends on plugin: War3Source_Engine_CooldownMgr.smx
Race - Night Elf: Depends on plugin: War3Source_Engine_CooldownMgr.smx
Race - Blood Mage: Depends on plugin: War3Source_Engine_CooldownMgr.smx
Race - Shadow Hunter: Depends on plugin: War3Source_Engine_CooldownMgr.smx
Race - Warden: Depends on plugin: War3Source_Engine_CooldownMgr.smx
Race - Crypt Lord: Depends on plugin: War3Source_Engine_CooldownMgr.smx
Race - Corrupted Disciple: Depends on plugin: War3Source_Engine_CooldownMgr.smx
Race - Soul Reaper: Depends on plugin: War3Source_Engine_CooldownMgr.smx
Race - Blood Hunter: Depends on plugin: War3Source_Engine_CooldownMgr.smx
Race - Lifestealer: Depends on plugin: War3Source_Engine_CooldownMgr.smx
Race - Succubus Hunter: Depends on plugin: War3Source_Engine_CooldownMgr.smx
Race - Chronos: Depends on plugin: War3Source_Engine_CooldownMgr.smx
Race - Lich: Depends on plugin: War3Source_Engine_CooldownMgr.smx
Race - Sacred Warrior: Depends on plugin: War3Source_Engine_CooldownMgr.smx
Race - Hammerstorm: Depends on plugin: War3Source_Engine_CooldownMgr.smx
W3S Engine Statistics: Depends on plugin: War3Source_Engine_CooldownMgr.smx
W3S - Shopitems: Depends on plugin: War3Source_Engine_CooldownMgr.smx

With the previous version war3source that never happened.
O_o

Ownz

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2437
  • chmod -R 777 *
    • View Profile
    • OwnageClan
Re: 1.2.2.x beta
« Reply #12 on: May 20, 2011, 02:40:09 PM »
cooldown mgr simply disappeared, anything you can find in error logs?

Frenzzy

  • Full Member
  • ***
  • Posts: 218
    • ICQ Messenger - 337905984
    • MSN Messenger - frenzzy@live.ru
    • View Profile
    • http://css.vsevnet.ru/
Re: 1.2.2.x beta
« Reply #13 on: May 20, 2011, 03:02:01 PM »
L20110520.log
Code: [Select]
L 05/20/2011 - 22:23:03: SourceMod log file session started (file "L20110520.log") (Version "1.3.7")
L 05/20/2011 - 22:23:03: -------- Mapchange to de_dust2 --------
L 05/20/2011 - 22:32:09: SourceMod log file session started (file "L20110520.log") (Version "1.3.7")
L 05/20/2011 - 22:32:09: -------- Mapchange to de_dust2 --------
L 05/20/2011 - 22:41:19: SourceMod log file session started (file "L20110520.log") (Version "1.3.7")
L 05/20/2011 - 22:41:19: -------- Mapchange to de_dust2 --------

errors_20110520.log
Code: [Select]
L 05/20/2011 - 22:46:46: SourceMod error session started
L 05/20/2011 - 22:46:46: Info (map "de_dust2") (file "errors_20110520.log")
L 05/20/2011 - 22:46:46: [War3Source_Engine_DamageSystem.smx] You may not set damage mod percent here, use ....Pre forward
L 05/20/2011 - 22:50:16: [War3Source_Engine_DamageSystem.smx] You may not set damage mod percent here, use ....Pre forward
L 05/20/2011 - 22:50:17: [War3Source_Engine_DamageSystem.smx] You may not set damage mod percent here, use ....Pre forward

war3sourcelog.txt
Code: [Select]

war3sourceerrorlog.txt
Code: [Select]
05/20/11 22:46:46 You may not set damage mod percent here, use ....Pre forward
05/20/11 22:50:16 You may not set damage mod percent here, use ....Pre forward
05/20/11 22:50:17 You may not set damage mod percent here, use ....Pre forward

war3sourcenoterrorlog.txt
Code: [Select]
05/20/11 22:46:46 War3Source_SpawnProtect.smx
05/20/11 22:50:16 War3Source_SpawnProtect.smx
05/20/11 22:50:17 War3Source_SpawnProtect.smx
O_o

Ownz

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2437
  • chmod -R 777 *
    • View Profile
    • OwnageClan
Re: 1.2.2.x beta
« Reply #14 on: May 21, 2011, 01:35:27 AM »
revision 223 would print damage error in war3errorlog, try that

Frenzzy

  • Full Member
  • ***
  • Posts: 218
    • ICQ Messenger - 337905984
    • MSN Messenger - frenzzy@live.ru
    • View Profile
    • http://css.vsevnet.ru/
Re: 1.2.2.x beta
« Reply #15 on: May 22, 2011, 07:52:35 AM »
revision 223 would print damage error in war3errorlog, try that
This helped to fix some bugs, thanks

About "Depends on plugin: war3source\War3Source_Engine_CooldownMgr.smx"
I run my test server with all standard war3source plugins v1.2.2.1 (rev 223)
map: de_dust2
config:
bot_join_after_player "0"
bot_quota "10"

and after 20-60 minutes of server failure is guaranteed!
This happens even if no players on the server. All error logs are empty.
O_o

iceman

  • Full Member
  • ***
  • Posts: 220
    • View Profile
Re: 1.2.2.x beta
« Reply #16 on: May 22, 2011, 11:30:06 AM »
Just ran on local srcds tf2, as soon as i added bots the server crashed. the only way to fix was to remove the extensions.

Ownz

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2437
  • chmod -R 777 *
    • View Profile
    • OwnageClan
Re: 1.2.2.x beta
« Reply #17 on: May 22, 2011, 02:12:36 PM »
which extension?

Ownz

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2437
  • chmod -R 777 *
    • View Profile
    • OwnageClan
Re: 1.2.2.x beta
« Reply #18 on: May 22, 2011, 02:26:50 PM »
you didnt find this in error log?

Terrorist bot spawned outside of a buy zone (-50, 2273, -126)
L 05/22/2011 - 13:18:06: [SM] MEMORY LEAK DETECTED IN PLUGIN (file "w3s\War3Sour
ce_Engine_CooldownMgr.smx")
L 05/22/2011 - 13:18:06: [SM] Unloading plugin to free 15702 handles.
L 05/22/2011 - 13:18:06: [SM] Contact the author(s) of this plugin to correct th
is error.
[SM] Plugin W3S Engine Cooldown Manager unloaded successfully.

Ownz

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2437
  • chmod -R 777 *
    • View Profile
    • OwnageClan
Re: 1.2.2.x beta
« Reply #19 on: May 22, 2011, 03:42:48 PM »
everyone go 1.2.2.2

Ownz

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2437
  • chmod -R 777 *
    • View Profile
    • OwnageClan
Re: 1.2.2.x beta
« Reply #20 on: May 30, 2011, 09:35:10 PM »
1.2.2.3

Zydu

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
Re: 1.2.2.x beta
« Reply #21 on: June 03, 2011, 06:06:33 AM »
I get these errors on some custom races and I have no idea how to eliminate them.

Code: [Select]
Fri Jun  3 13:43:38 2011 You may not set damage mod percent here, use ....Pre forward                                                                                             Fri Jun  3 13:43:38 2011 war3source/War3Source_CustomRace_SpiderMan.smx                                                                                                           Fri Jun  3 13:43:38 2011 You may not set damage mod percent here, use ....Pre forward                      g                                                                      Fri Jun  3 13:43:38 2011 war3source/War3Source_CustomRace_SpiderMan.smx                                                                                                           
Fri Jun  3 13:43:39 2011 You may not set damage mod percent here, use ....Pre forward                                                                                             
Fri Jun  3 13:43:39 2011 war3source/War3Source_CustomRace_SpiderMan.smx                                                                                                           
Fri Jun  3 13:43:39 2011 You may not set damage mod percent here, use ....Pre forward                                                                                             
Fri Jun  3 13:43:39 2011 war3source/War3Source_CustomRace_SpiderMan.smx 

Glider⠠⠵

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 472
  • ⠠⠵
    • View Profile
Re: 1.2.2.x beta
« Reply #22 on: June 03, 2011, 06:29:51 AM »
They're still using the old coding style. A few things changed and these races need to be recoded.

Zydu

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
Re: 1.2.2.x beta
« Reply #23 on: June 03, 2011, 07:15:22 AM »
They where already recoded as instructed in first post. Are there any other functions I need to change?

Quote
ALL CUSTOM RACES AND ADDONS MUST BE RE-COMPILED
INTERFACE CHANGE:
These functions have changed, please modify your race accordingly
what has been bolded means it has been removed or changed
---
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 pass SKILL_LEECH or ULT_SUICIDE
------
OLD public APLRes:AskPluginLoad2
NEW public APLRes:AskPluginLoad2Custom
interface needs AskPluginLoad2 now, your race needs to use the ...Custom

Ownz

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2437
  • chmod -R 777 *
    • View Profile
    • OwnageClan
Re: 1.2.2.x beta
« Reply #24 on: June 03, 2011, 09:04:25 AM »
please read the comments

/**
 * Called when a an entity takes damage, requires SDK Hooks until SM natively supports this.
 * @param victim: Victim entity.
 * @param attacker: Attacker entity.
 * @param damage: How much damage is done.
 * @noreturn
 *
 * order of execution is
 * damageallpre
 * bulletpre (if bullet)
 * damageall
 * bullet  (if bullet)      
 */
//FF triggers this function!!! even though it didnt damage any teammate
//THIS is a theoretical damage given by the engine, if u want real damage dealt use the hurt-event
//use natives to retrieve inflictor and game damagetype
//becareful when using this, u should only use this to reduce incoming damage. if you want to return damge, only use on bullet (first trigger damage)(below) or check IsBullet
//you may set damage mod percent HERE  
//you may NOT DAMAGE IN HERE  

forward OnW3TakeDmgAllPre(victim,attacker,Float:damage);  
//bullet only
forward OnW3TakeDmgBulletPre(victim,attacker,Float:damage);  


//you may NOT set damage mod percent HERE  
//you may DAMAGE in here, however damage will be engine theoretical damage, not actual damage dealt
forward OnW3TakeDmgAll(victim,attacker,Float:damage);  
// BULLET GAME DAMAGE ONLY or Warcraft damage that is allowed to be retriggered (allow more item and skill modifiers), (FILTERED)
//you may NOT set damage mod percent HERE
//you may DAMAGE in here

forward OnW3TakeDmgBullet(victim,attacker,Float:damage);  
« Last Edit: June 03, 2011, 09:06:54 AM by Ownz »