|
Title: 1.2.2.x Post by: Ownz 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 Title: Re: 1.2.2.x beta Post by: Frenzzy 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", skill, 4); SKILL_002 = War3_AddRaceSkillT(thisRaceID, "SkillName", ability, 4); SKILL_003 = War3_AddRaceSkillT(thisRaceID, "SkillName", ability1, 4); SKILL_004 = War3_AddRaceSkillT(thisRaceID, "SkillName", ultimate, 4); 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? Title: Re: 1.2.2.x beta Post by: Ownz 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 Title: Re: 1.2.2.x beta Post by: [Oddity]TeacherCreature 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 :( Title: Re: 1.2.2.x beta Post by: Ownz on May 16, 2011, 03:16:04 PM 0 becomes invalid
Title: Re: 1.2.2.x beta Post by: Frenzzy 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: (http://xmages.net/storage/10/1/0/6/9/upload/c8a46593.jpg) 2. Do not create a blank string between different messages: (http://xmages.net/storage/10/1/0/6/9/upload/a54af59b.jpg) 3. Opportunity to not displayе for cooldown hint messages: For example we have a passive skill that does not need to show cooldown messages. Title: Re: 1.2.2.x beta Post by: Ownz 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
Title: Re: 1.2.2.x beta Post by: Frenzzy 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. Title: Re: 1.2.2.x beta Post by: Ownz on May 20, 2011, 10:29:47 AM after some time?
Title: Re: 1.2.2.x beta Post by: Frenzzy 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 Title: Re: 1.2.2.x beta Post by: Ownz on May 20, 2011, 10:53:58 AM find out why cooldownmgr died, sm plugins info it
Title: Re: 1.2.2.x beta Post by: Frenzzy 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: ] 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: ] 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. Title: Re: 1.2.2.x beta Post by: Ownz on May 20, 2011, 02:40:09 PM cooldown mgr simply disappeared, anything you can find in error logs?
Title: Re: 1.2.2.x beta Post by: Frenzzy on May 20, 2011, 03:02:01 PM L20110520.log
Code: 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: 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: war3sourceerrorlog.txt Code: 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: 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 Title: Re: 1.2.2.x beta Post by: Ownz on May 21, 2011, 01:35:27 AM revision 223 would print damage error in war3errorlog, try that
Title: Re: 1.2.2.x beta Post by: Frenzzy on May 22, 2011, 07:52:35 AM revision 223 would print damage error in war3errorlog, try that This helped to fix some bugs, thanksAbout "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 (http://war3source.com/index.php?topic=736.msg4979#msg4979) is guaranteed! This happens even if no players on the server. All error logs are empty. Title: Re: 1.2.2.x beta Post by: iceman 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.
Title: Re: 1.2.2.x beta Post by: Ownz on May 22, 2011, 02:12:36 PM which extension?
Title: Re: 1.2.2.x beta Post by: Ownz 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. Title: Re: 1.2.2.x beta Post by: Ownz on May 22, 2011, 03:42:48 PM everyone go 1.2.2.2
Title: Re: 1.2.2.x beta Post by: Ownz on May 30, 2011, 09:35:10 PM 1.2.2.3
Title: Re: 1.2.2.x beta Post by: Zydu 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: 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 Title: Re: 1.2.2.x beta Post by: Glider⠠⠵ 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.
Title: Re: 1.2.2.x beta Post by: Zydu 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 Title: Re: 1.2.2.x beta Post by: Ownz 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); Title: Re: 1.2.2.x beta Post by: Reinghord on June 17, 2011, 03:09:19 AM Could you help me on these 2 errors?
(http://i.piccy.info/i5/17/54/1635417/error.jpg) (http://i.piccy.info/i5/06/54/1635406/error1.jpg) Title: Re: 1.2.2.x beta Post by: Frenzzy on June 17, 2011, 03:54:05 AM Reinghord,
для помощи есть другой раздел: War3: Source - Support (http://war3source.com/index.php?board=1.0) ..или на крайний случай: War3: Source - Multilingual (http://war3source.com/index.php?board=23.0) Quote Чтобы нам было проще вам помочь, пожалуйста, сделайте следующее.. Введите эти команды в консоле сервера в указанном порядке: 1) meta version 2) meta list 3) sm version 4) sm exts list 5) sm plugins list Все результаты выполнения команд выложите на форум! 6) Далее скопируйте сюда текст ошибок из логов: ..\orangebox\<game mod>\addons\sourcemod\logs\ 7) И что написано напротив значения "driver_default" в файле databases.cfg? ..\orangebox\<game mod>\addons\sourcemod\configs\databases.cfg Title: Re: 1.2.2.x beta Post by: Ownz on July 01, 2011, 09:23:27 AM 1.2.2.6
Title: Re: 1.2.2.x beta Post by: Zydu on July 05, 2011, 04:42:31 AM Code: L 07/05/2011 - 10:17:07: [SM] Plugin encountered error 15: Array index is out of bounds L 07/05/2011 - 10:17:07: [SM] Displaying call stack trace for plugin "war3source/War3Source_Engine_XPGold.smx": L 07/05/2011 - 10:17:07: [SM] [0] Line 703, War3Source_Engine_XPGold.sp::War3Source_HostageFollow() Title: Re: 1.2.2.x beta Post by: Glider⠠⠵ on July 05, 2011, 04:48:31 AM Title: Re: 1.2.2.x beta Post by: ItsMev on July 09, 2011, 04:50:44 AM Getting these in console for TF2
L 07/09/2011 - 20:29:21: [SM] Displaying call stack trace for plugin "war3source\War3Source_Engine_XPGold.smx": L 07/09/2011 - 20:29:21: [SM]
L 07/09/2011 - 20:43:34: [SM] Native "W3CreateShopItem2" reported: L 07/09/2011 - 20:43:34: [SM] Displaying call stack trace for plugin "war3source\War3Source_ShopItems2.smx": L 07/09/2011 - 20:43:34: [SM]
? Title: Re: 1.2.2.x beta Post by: Ownz on July 09, 2011, 08:25:24 AM version?
Title: Re: 1.2.2.x beta Post by: ItsMev on July 09, 2011, 05:28:31 PM 1.2.2.8PRE.rar from website.
Title: Re: 1.2.2.x beta Post by: Ownz on July 09, 2011, 06:01:19 PM go back to 1.2.2.7 and remove everything from 1.2.2.8
Title: Re: 1.2.2.x beta Post by: ItsMev on July 10, 2011, 06:45:03 AM L 07/10/2011 - 22:40:51: [SM] Native "War3_GetOwnsItem2" reported:
L 07/10/2011 - 22:40:51: [SM] Displaying call stack trace for plugin "war3source\War3Source_Engine_ItemOwnership2.smx": L 07/10/2011 - 22:40:51: [SM]
L 07/10/2011 - 22:40:51: [SM] Native "GetClientItemsOwned" reported: Error encountered while processing a dynamic native L 07/10/2011 - 22:40:51: [SM] Displaying call stack trace for plugin "war3source\War3Source_Engine_MenuShopmenu.smx": L 07/10/2011 - 22:40:51: [SM]
L 07/10/2011 - 22:41:49: [SM] Plugin encountered error 21: Native is not bound L 07/10/2011 - 22:41:49: [SM] Native "War3_GetOwnsItem2" reported: L 07/10/2011 - 22:41:49: [SM] Displaying call stack trace for plugin "war3source\War3Source_Engine_ItemOwnership2.smx": L 07/10/2011 - 22:41:49: [SM]
L 07/10/2011 - 22:41:49: [SM] Native "GetClientItemsOwned" reported: Error encountered while processing a dynamic native L 07/10/2011 - 22:41:49: [SM] Displaying call stack trace for plugin "war3source\War3Source_Engine_MenuShopmenu.smx": L 07/10/2011 - 22:41:49: [SM]
Getting this in console, however I did install Singularity mod for war3source so I dont know if its related? Any fix? (This is 1.2.2.7 as you said btw) L 07/10/2011 - 22:36:39: [SM] Unable to load plugin "war3source\War3Source_Addon_NoSpySuicide.smx": Native "W3Deny" was not found L 07/10/2011 - 22:36:39: [SM] Unable to load plugin "war3source\War3Source_Engine_BuffSpeedGravGlow.smx": Native "W3GetBuffLoopLimit" was not found Also that when I initially installed. Title: Re: 1.2.2.x beta Post by: ItsMev on July 11, 2011, 02:05:57 AM 2011 - 18:02:00: [SM] Native "GetClientItemsOwned" reported: Error encountered while processing a dynamic native
L 07/11/2011 - 18:02:00: [SM] Displaying call stack trace for plugin "war3source\War3Source_Engine_MenuShopmenu.smx": L 07/11/2011 - 18:02:00: [SM]
L 07/11/2011 - 18:02:00: [SM] [2] Line 32, War3Source_Engine_MenuShopmenu.sp::OnWar3Event() L 07/11/2011 - 18:02:10: [war3source\War3Source_Engine_RaceClass.smx] bad race ID 0 L 07/11/2011 - 18:02:10: [SM] Plugin encountered error 15: Array index is out of bounds L 07/11/2011 - 18:02:10: [SM] Native "War3_GetRaceSkillCount" reported: bad race ID 0 L 07/11/2011 - 18:02:10: [SM] Displaying call stack trace for plugin "war3source\War3Source_Engine_XPGold.smx": L 07/11/2011 - 18:02:10: [SM]
L 07/11/2011 - 18:02:12: [SM] Plugin encountered error 21: Native is not bound L 07/11/2011 - 18:02:12: [SM] Native "War3_GetOwnsItem2" reported: L 07/11/2011 - 18:02:12: [SM] Displaying call stack trace for plugin "war3source\War3Source_Engine_ItemOwnership2.smx": L 07/11/2011 - 18:02:12: [SM]
L 07/11/2011 - 18:02:12: [SM] Native "GetClientItemsOwned" reported: Error encountered while processing a dynamic native L 07/11/2011 - 18:02:12: [SM] Displaying call stack trace for plugin "war3source\War3Source_Engine_MenuShopmenu.smx": L 07/11/2011 - 18:02:12: [SM]
L 07/11/2011 - 18:02:34: [war3source\War3Source_Engine_RaceClass.smx] bad race ID 0 L 07/11/2011 - 18:02:34: [SM] Plugin encountered error 15: Array index is out of bounds L 07/11/2011 - 18:02:34: [SM] Native "War3_GetRaceSkillCount" reported: bad race ID 0 L 07/11/2011 - 18:02:34: [SM] Displaying call stack trace for plugin "war3source\War3Source_Engine_XPGold.smx": L 07/11/2011 - 18:02:34: [SM]
L 07/11/2011 - 18:02:43: [war3source\War3Source_Engine_RaceClass.smx] bad race ID 0 L 07/11/2011 - 18:02:43: [SM] Plugin encountered error 15: Array index is out of bounds L 07/11/2011 - 18:02:43: [SM] Native "War3_GetRaceSkillCount" reported: bad race ID 0 L 07/11/2011 - 18:02:43: [SM] Displaying call stack trace for plugin "war3source\War3Source_Engine_XPGold.smx": L 07/11/2011 - 18:02:43: [SM]
L 07/11/2011 - 18:02:55: [war3source\War3Source_Engine_RaceClass.smx] bad race ID 0 L 07/11/2011 - 18:02:55: [SM] Plugin encountered error 15: Array index is out of bounds L 07/11/2011 - 18:02:55: [SM] Native "W3GetRaceMaxLevel" reported: bad race ID 0 L 07/11/2011 - 18:02:55: [SM] Displaying call stack trace for plugin "war3source\War3Source_Engine_XPGold.smx": L 07/11/2011 - 18:02:55: [SM]
L 07/11/2011 - 18:02:55: [SM] [2] Line 554, War3Source_Engine_XPGold.sp::OnWar3EventDeath() L 07/11/2011 - 18:03:28: [war3source\War3Source_Engine_RaceClass.smx] bad race ID 0 L 07/11/2011 - 18:03:28: [SM] Plugin encountered error 15: Array index is out of bounds L 07/11/2011 - 18:03:28: [SM] Native "War3_GetRaceSkillCount" reported: bad race ID 0 L 07/11/2011 - 18:03:28: [SM] Displaying call stack trace for plugin "war3source\War3Source_Engine_XPGold.smx": L 07/11/2011 - 18:03:28: [SM]
L 07/11/2011 - 18:03:41: [war3source\War3Source_Engine_RaceClass.smx] bad race ID 0 L 07/11/2011 - 18:03:41: [SM] Plugin encountered error 15: Array index is out of bounds L 07/11/2011 - 18:03:41: [SM] Native "W3GetRaceMaxLevel" reported: bad race ID 0 L 07/11/2011 - 18:03:41: [SM] Displaying call stack trace for plugin "war3source\War3Source_Engine_XPGold.smx": L 07/11/2011 - 18:03:41: [SM]
L 07/11/2011 - 18:03:41: [SM] [2] Line 554, War3Source_Engine_XPGold.sp::OnWar3EventDeath() L 07/11/2011 - 18:03:56: [war3source\War3Source_Engine_RaceClass.smx] bad race ID 0 L 07/11/2011 - 18:03:56: [SM] Plugin encountered error 15: Array index is out of bounds L 07/11/2011 - 18:03:56: [SM] Native "War3_GetRaceSkillCount" reported: bad race ID 0 L 07/11/2011 - 18:03:56: [SM] Displaying call stack trace for plugin "war3source\War3Source_Engine_XPGold.smx": L 07/11/2011 - 18:03:56: [SM]
L 07/11/2011 - 18:04:04: [war3source\War3Source_Engine_RaceClass.smx] bad race ID 0 L 07/11/2011 - 18:04:04: [SM] Plugin encountered error 15: Array index is out of bounds L 07/11/2011 - 18:04:04: [SM] Native "War3_GetRaceSkillCount" reported: bad race ID 0 L 07/11/2011 - 18:04:04: [SM] Displaying call stack trace for plugin "war3source\War3Source_Engine_XPGold.smx": L 07/11/2011 - 18:04:04: [SM]
Still getting 24million bytes sized error files full of this! Title: Re: 1.2.2.x beta Post by: Ownz on July 11, 2011, 08:42:48 AM download 1.2.2.8, replace ALL extensions and replace ALL plugins
Title: Re: 1.2.2.x beta Post by: olszak on July 14, 2011, 06:30:51 PM 1.2.2.8
Can't compile race's + when i upload ready race (example: stealth assassin), it appears in-game but skill's won't work... Title: Re: 1.2.2.x beta Post by: Ownz on July 14, 2011, 07:23:43 PM author did not keep race up to date with current version
recommend you know sourcepawn before using custom races Title: Re: 1.2.2.x beta Post by: D3vilfish on July 15, 2011, 03:36:32 AM Hi, just started using the beta 1.2.2.8 and realised that min level and admin flag restrict are not implemented yet, will these be done at any time in the future?
Also what was the latest release to still have these cvars enabled? Thanks in advance. D3v Ps love war3 so much better than buggy wcs! Title: Re: 1.2.2.x beta Post by: Ownz on July 15, 2011, 08:04:53 AM minlevel and admin flag was implemented a loooonnnnngggg time ago, you probably did something wrong
its war3 undead_minlevel read that carefully Title: Re: 1.2.2.x beta Post by: Gadman on July 17, 2011, 11:30:29 AM Ready to use with Linux?
Title: Re: 1.2.2.x beta Post by: Ownz on July 17, 2011, 11:30:44 AM 1.2.2.8 yes
Title: Re: 1.2.2.x beta Post by: Gadman on July 17, 2011, 12:44:35 PM Can you add new race in this release?
As hammerstorm before. Title: Re: 1.2.2.x beta Post by: Ownz on July 17, 2011, 12:45:16 PM what?
Title: Re: 1.2.2.x beta Post by: Gadman on July 17, 2011, 01:16:13 PM Sorry for my English.
Can you add new race in this release 1.2.2.8? Title: Re: 1.2.2.x beta Post by: Ownz on July 17, 2011, 01:25:05 PM you can add custom races.
there will not be a new packaged race Title: Re: 1.2.2.x beta Post by: D3vilfish on July 20, 2011, 12:33:39 AM minlevel and admin flag was implemented a loooonnnnngggg time ago, you probably did something wrong Thanks for that, read my war3source.cfg carefully:its war3 undead_minlevel read that carefully // war3_SHORTNAME_accessflag 0 // Admin access flag for race ie "b" // war3_SHORTNAME_minlevel 0 // Minimum total level for race // war3_SHORTNAME_startlevel 0 // Start level for race As you can see there is a _ between war3 and SHORTNAME name which was my problem, must be an old config. Title: Re: 1.2.2.x beta Post by: zero on July 27, 2011, 05:39:41 PM Your latest version is using Entity_SetHealth however the SMLIB stocks were already using this function name causing a conflict. Many of us use the SMLIB stocks in our races and other programs and war3source not having compatibility with it by using stocks with the same name is a major problem. Can you please correct this in the next release?
Title: Re: 1.2.2.x beta Post by: Ownz on July 27, 2011, 05:41:13 PM next version
Title: Re: 1.2.2.x Post by: zero on July 27, 2011, 06:17:38 PM Thank you ;D
Title: Re: 1.2.2.x Post by: zero on July 27, 2011, 09:30:25 PM I noticed that in the update logs you did this:
Quote added giving XP for touching hostages and losing xp for killing one However I can not find any cvar that controls this. I do not want to reward any xp for this or take away xp. In addition is there and or can there be a universal cvar that prevents xp from ever being taken away. I want to ensure that NOTHING, has the ability to reduce a users xp except for me editing the users xp directly. Title: Re: 1.2.2.x Post by: Ownz on July 27, 2011, 09:54:26 PM what are you trying to do?
fine control is provided via the event W3SetVar(EventArg1,awardedfromevent); //set event vars W3SetVar(EventArg2,xp); W3SetVar(EventArg3,gold); W3CreateEvent(OnPreGiveXPGold,client); //fire event Title: Re: 1.2.2.x Post by: zero on July 27, 2011, 10:04:41 PM Basically I wanted to prevent War3Source_HostageFollow and War3Source_HostageKilled from doing anything so for now I have just commented them out and recompiled. Other users may want a simple way to disable those or a way to individually adjust the xp awarded by them using cvars like how the rest of the xp rewards are handled.
Just to make sure there is not anything else other than War3Source_HostageKilled that can automatically remove players xp? This is why I am requesting a universal cvar to ensure that any stock setting that removes xp is permanently disabled. This way you can add new features without less experienced admins worrying about some new setting suddenly taking users xp away. BTW it appears that there was quite a few instances of Code: new race=War3_GetRace(i) in War3Source_Engine_XPGoldCS so I commented those out as well. You may want to brush over that file to clean out any old or not needed code before final release of this beta. Great work as always, I am looking forward to finishing up some custom work on my end and getting my servers updated to the latest versions. Title: Re: 1.2.2.x Post by: Ownz on July 27, 2011, 10:19:23 PM as always, you are urged to contribute to the SVN if you can.
Title: Re: 1.2.2.x Post by: zero on July 27, 2011, 10:36:34 PM as always, you are urged to contribute to the SVN if you can. I will see if I can throw in some convars when I get a chance. Where to I send the altered file? Title: Re: 1.2.2.x Post by: Ownz on July 28, 2011, 07:35:13 AM follow the svn tutorial
ownageclan.com/wiki Title: Re: 1.2.2.x Post by: zero on July 28, 2011, 03:07:23 PM I can confirm that you LOSE xp for making kills and I can see where this is coming from, I just got to find the actual line in the code...
If YOU as level 2 kill a player at lets say level 30 you get lets say 150xp If they kill you they lose around 150xp Basically the function is written as (30-2)x=xp so when it goes (2-30)x=xp you go negative... To fix the problem open Engine_XPGold and change the contents of GiveKillXPCreds to: Code: GiveKillXPCreds(client,playerkilled,bool:headshot,bool:melee) { //PrintToChatAll("1"); new race=War3_GetRace(client); if(race>0){ new killerlevel=War3_GetLevel(client,War3_GetRace(client)); new victimlevel=War3_GetLevel(playerkilled,War3_GetRace(playerkilled)); new leveldiff; leveldiff=victimlevel-killerlevel; //check for negitive and assign to 0 so no bonus is awarded if(leveldiff<0) { leveldiff=0; } new killxp=W3GetKillXP(client,leveldiff); new addxp=killxp; if(headshot) addxp+=((killxp*GetConVarInt(HeadshotXPCvar))/100); if(melee) addxp+=((killxp*GetConVarInt(MeleeXPCvar))/100); new String:killaward[64]; Format(killaward,sizeof(killaward),"%T","a kill",client); W3GiveXPGold(client,XPAwardByKill,addxp,W3GetKillGold(),killaward); } } The above will ensure that no xp is ever removed and that if you kill a player lower level than yourself you get no bonus. In theory you could make your own function here to reward some functional less xp without going negative if you wanted some addational customization. Title: Re: 1.2.2.x Post by: Ownz on July 28, 2011, 03:26:52 PM better fix is in W3GetKillXP
Code: public NW3GetKillXP(Handle:plugin,numParams) { new client=GetNativeCell(1); new race=War3_GetRace(client); if(race>0){ new level=War3_GetLevel(client,race); if(level>MAXLEVELXPDEFINED) level=MAXLEVELXPDEFINED; new leveldiff= GetNativeCell(2); if(leveldiff<0) leveldiff=0; return (IsShortTerm()?XPShortTermKillXP[level] :XPLongTermKillXP[level]) + (GetConVarInt(hLevelDifferenceBounus)*leveldiff); } return 0; } committed to svn Title: Re: 1.2.2.x Post by: Schmarotzer on August 01, 2011, 03:41:09 AM Fixed Scout-Race for multilanguage some strings and translated to RU
Title: Re: 1.2.2.x Post by: Ownz on August 01, 2011, 07:06:54 AM why not SVN?
got some minor error here COPY ENTIRE URL http://ownageclan.com/websvn/comp.php?repname=war3source&compare[]=/@426&compare[]=/@427 Title: Re: 1.2.2.x Post by: Schmarotzer on August 01, 2011, 09:15:55 PM Simply now I have no svn available (reinstalled windows)
and I translated it when I was on work ^__^ Title: Re: 1.2.2.x Post by: Schmarotzer on August 02, 2011, 12:29:03 AM I put the finishing touches in Russian Translation
Полностью перевел на русский все новые фразы и файлы. Title: Re: 1.2.2.x Post by: ItsMev on August 03, 2011, 11:04:34 PM L 08/04/2011 - 14:59:07: [W3E] ERROR, HELPER FUNCTION FROM EXTENSION HELPER PLUGIN NOT REGISTERED
L 08/04/2011 - 14:59:07: [W3E] ERROR, HELPER FUNCTION FROM EXTENSION HELPER PLUGIN NOT REGISTERED L 08/04/2011 - 14:59:07: [W3E] ERROR, HELPER FUNCTION FROM EXTENSION HELPER PLUGIN NOT REGISTERED L 08/04/2011 - 14:59:07: [W3E] ERROR, HELPER FUNCTION FROM EXTENSION HELPER PLUGIN NOT REGISTERED L 08/04/2011 - 14:59:07: [W3E] ERROR, HELPER FUNCTION FROM EXTENSION HELPER PLUGIN NOT REGISTERED L 08/04/2011 - 14:59:07: [W3E] ERROR, HELPER FUNCTION FROM EXTENSION HELPER PLUGIN NOT REGISTERED L 08/04/2011 - 14:59:07: [W3E] ERROR, HELPER FUNCTION FROM EXTENSION HELPER PLUGIN NOT REGISTERED L 08/04/2011 - 14:59:07: [W3E] ERROR, HELPER FUNCTION FROM EXTENSION HELPER PLUGIN NOT REGISTERED L 08/04/2011 - 14:59:07: [W3E] ERROR, HELPER FUNCTION FROM EXTENSION HELPER PLUGIN NOT REGISTERED L 08/04/2011 - 14:59:07: [W3E] ERROR, HELPER FUNCTION FROM EXTENSION HELPER PLUGIN NOT REGISTERED pure virtual method called terminate called without an active exception PreMinidumpCallback: updating dump comment Uploading dump (in-process) [proxy ''] /tmp/dumps/crash_20110804145907_1.dmp framefunction.cpp (120) : Assertion Failed: CFrameFunctionMgr::~CFrameFunctionMgr: non static FrameFunction still registered /home/VALVE/rackadmin/buildslave/steam_rel_client_linux/build/src/common/framefunction.cpp 120 Assertion Failed: CFrameFunctionMgr::~CFrameFunctionMgr: non static FrameFunction still registered ./srcds_run: line 372: 31914 Segmentation fault $HL_CMD O_O? Title: Re: 1.2.2.x Post by: Ownz on August 03, 2011, 11:06:46 PM War3Source_Extension_Helper.smx loaded?
Title: Re: 1.2.2.x Post by: ItsMev on August 04, 2011, 12:09:56 AM Can't figure out how to get most of my races to compile with newest version :p
W3PrintSkillDmgHintConsole( victim, attacker, War3_GetWar3DamageDealt(),); Whats that supposed to be changed to O_o Title: Re: 1.2.2.x Post by: Ownz on August 04, 2011, 07:36:33 AM see first post
Title: Re: 1.2.2.x Post by: ItsMev on August 05, 2011, 05:21:17 AM Sorry yeah I figured that out like..right after I posted, having some crash issues now.
Installed newst version and getting all this L 08/05/2011 - 21:16:37: [war3source/War3Source_Engine_DamageSystem.smx] war3source/War3Source_000_Footman.smx L 08/05/2011 - 21:16:50: [war3source/War3Source_Engine_DamageSystem.smx] You may not set damage mod percent here, use ....Pre forward L 08/05/2011 - 21:16:50: [war3source/War3Source_Engine_DamageSystem.smx] war3source/War3Source_000_Footman.smx L 08/05/2011 - 21:18:14: [war3source/War3Source_Engine_DamageSystem.smx] You may not set damage mod percent here, use ....Pre forward L 08/05/2011 - 21:18:14: [war3source/War3Source_Engine_DamageSystem.smx] war3source/War3Source_CustomRace_LuckyStrike.smx for lots of races, what is wrong with War3DealDamge? Title: Re: 1.2.2.x Post by: ItsMev on August 05, 2011, 06:10:33 AM Also;
L 08/05/2011 - 16:33:11: [SM] Plugin encountered error 15: Array index is out of bounds L 08/05/2011 - 16:33:11: [SM] Native "War3_GetRaceSkillCount" reported: bad race ID 0 L 08/05/2011 - 16:33:11: [SM] Displaying call stack trace for plugin "war3source/War3Source_Engine_XPGold.smx": L 08/05/2011 - 16:33:11: [SM]
Title: Re: 1.2.2.x Post by: Ownz on August 05, 2011, 07:41:48 AM your races are not following damage modification guidelines
War3_DamageModPercent( can only be used under OnW3TakeDmgBulletPre( or OnW3TakeDmgAllPre( War3_DeadDamage can only be used under the non Pre forward. bad race ID 0 for that instance fixed on SVN Title: Re: 1.2.2.x Post by: ItsMev on August 08, 2011, 04:34:14 AM L 08/08/2011 - 14:41:14: [SM] Displaying call stack trace for plugin "war3source/War3Source_Engine_Weapon.smx":
L 08/08/2011 - 14:41:14: [SM]
L 08/08/2011 - 14:42:25: [SM] Displaying call stack trace for plugin "war3source/War3Source_Engine_Weapon.smx": L 08/08/2011 - 14:42:25: [SM]
Noticed this in logs, any ideas? Title: Re: 1.2.2.x Post by: Ownz on August 08, 2011, 07:54:56 AM just ignore it for now
Title: Re: 1.2.2.x Post by: Schmarotzer on August 08, 2011, 10:44:58 PM Dark Elf only for TF2?
Title: Re: 1.2.2.x Post by: Ownz on August 08, 2011, 10:46:58 PM are you updating the translations? because the translation files are not there so i cant test it on css
Title: Re: 1.2.2.x Post by: Schmarotzer on August 09, 2011, 01:28:47 AM yup )
OMG Quote LoadTranslations("w3s.race.scout_o.phrases"); LoadTranslations("w3s.race.darkelf_o.phrases"); My mistake Sorry )) Title: Re: 1.2.2.x Post by: Ownz on August 09, 2011, 09:53:20 AM theres still no w3s.race.darkelf_o.phrases on the SVN
Title: Re: 1.2.2.x Post by: Schmarotzer on August 10, 2011, 01:08:52 AM uploaded ;)
I thought that I uploaded these files earlier... ??? Title: Re: 1.2.2.x Post by: ItsMev on August 10, 2011, 04:27:31 AM Decided I would update my tf2 to latest version tonight because it was bitching at me.
L 08/10/2011 - 20:23:49: [SM] Displaying call stack trace for plugin "war3source\War3Source_Engine_BuffSpeedGravGlow.smx": L 08/10/2011 - 20:23:49: [SM]
L 08/10/2011 - 20:23:49: [SM] Plugin encountered error 21: Native is not bound L 08/10/2011 - 20:23:49: [SM] Native "W3GetItems2LoadedEXT" reported: L 08/10/2011 - 20:23:49: [SM] Displaying call stack trace for plugin "war3source\War3Source_Engine_BuffSpeedGravGlow.smx": L 08/10/2011 - 20:23:49: [SM]
L 08/10/2011 - 20:23:49: [SM] Plugin encountered error 21: Native is not bound L 08/10/2011 - 20:23:49: [SM] Native "W3GetItems2LoadedEXT" reported: L 08/10/2011 - 20:23:49: [SM] Displaying call stack trace for plugin "war3source\War3Source_Engine_BuffSpeedGravGlow.smx": L 08/10/2011 - 20:23:49: [SM]
L 08/10/2011 - 20:23:50: [SM] Plugin encountered error 21: Native is not bound L 08/10/2011 - 20:23:50: [SM] Native "W3GetItems2LoadedEXT" reported: Got this about a bagliion times, (100 million bytes error files over and over, could barely keep up with it to download!) untill I removed it, my players couldn't move, is this required and should I add it back in asap? :S Title: Re: 1.2.2.x Post by: Ownz on August 10, 2011, 09:29:13 AM something else failed, please check you have uploaded the extensions
Title: Re: 1.2.2.x Post by: nvn on August 31, 2011, 02:33:39 AM L 08/27/2011 - 09:50:06: [SM] MEMORY LEAK DETECTED IN PLUGIN (file "w3s/Engine_Hint.smx")
L 08/27/2011 - 09:50:06: [SM] Unloading plugin to free 14544 handles. L 08/27/2011 - 09:50:06: [SM] Contact the author(s) of this plugin to correct this error. 1.2.2.9 should i provide more information? Title: Re: 1.2.2.x Post by: Ownz on August 31, 2011, 07:04:55 AM custom races? did some plugin spam the hint?
Title: Re: 1.2.2.x Post by: nvn on August 31, 2011, 09:27:03 AM Custom plugins are not using w3s hint messages (or all hints are transformed by w3s engene?). If so, i can suspect mapchooser, coz since i've updated to 1229 - hints from this plugin gets crazy :) (temp solution for me its to move voting progress to hud_hint field)
i'll try to go throught races and check if they using it too much (type back if i'll find something), but i dont remember any that print it very often, usualy its on skill activate/desactivate. Also, this error cant be, coz of small cooldown of skills (like 3+ sec), right? Maybe there is a way how to log suspicious plugins, if its not complicated? Little question, is everyone having troubles with showing icon when player suicided, i mean when u jump from the roof, for example, this skull is not shown like usual, same problem with soul reaper's fHPDecay aura. Title: Re: 1.2.2.x Post by: Ownz on August 31, 2011, 09:29:05 AM hint engine captures all hints
theres no easy way to debug this. sm_dump_handles just crashes on me Title: Re: 1.2.2.x Post by: Naris on August 31, 2011, 11:12:27 PM Code: CreateObject(client){ SetArrayCell(objarray,client,CreateTrie()); } The code above will leak Handles if objarray[client] already has a handle in it. At a minimum, you should at least check to ensure it's an INVALID_HANDLE before creating a new trie. Code: CreateObject(client){ if(Object(client)==INVALID_HANDLE) { SetArrayCell(objarray,client,CreateTrie()); } } Title: Re: 1.2.2.x Post by: Ownz on September 01, 2011, 08:36:38 PM if theres something that should be fixed, please do that on the svn.
|