|
Title: My SVN Updates Topic Post by: -El Diablo on May 20, 2012, 12:38:10 AM For those of you that wish to grab updates from my branch, I'll post it here.
I've just recently added bImmunity_Items to the W3Buff enum. You can now check for Immunity_Items, just as you would with Immunity_Skills using !W3HasImmunity(); check. Just download my latest branch update from svn. I've also included new item Barrier of Hope which gives immunity to items from the shopmenu being used against you. like claw, frost, etc. Any more good updates, I'll post here. Title: Re: My SVN Updates Topic Post by: -El Diablo on May 20, 2012, 11:43:58 AM Updated again, the previous fix broke alot of races. This fix moves immunity to the bottom of the enum list for the fix. Now all races work fine, including the new items.
Title: Re: My SVN Updates Topic Post by: -El Diablo on May 29, 2012, 05:11:51 AM I've uploaded the translation files for my new items that I had updated on my svn.
In order to use my new items you need to download at least these and recompile your whole source: http://ownageclan.com/svn/war3source/customstuff/branches/diablo/W3SIncs/constants.inc http://ownageclan.com/svn/war3source/customstuff/branches/diablo/W3SIncs/War3Source_Interface.inc For Armor of Courage: 30% reduction in incoming damage: http://ownageclan.com/svn/war3source/customstuff/branches/diablo/War3Source_ShopItem_ArmorCourage.sp http://ownageclan.com/svn/war3source/customstuff/branches/diablo/addons/sourcemod/translations/w3s.item.courage.phrases.txt For Barrier of Hope: Immunity from all shopmenu items: http://ownageclan.com/svn/war3source/customstuff/branches/diablo/War3Source_ShopItem_BarrierOfHope.sp http://ownageclan.com/svn/war3source/customstuff/branches/diablo/addons/sourcemod/translations/w3s.item.hope.phrases.txt For Orb of Fire: Every time the owner of this item hits a target, the target receives 10 seconds of fire damage. (Use Barrier of Hope to prevent this) http://ownageclan.com/svn/war3source/customstuff/branches/diablo/War3Source_ShopItem_FireOrb.sp http://ownageclan.com/svn/war3source/customstuff/branches/diablo/addons/sourcemod/translations/w3s.item.fireorb.phrases.txt PS: When creating Barrier of Hope, I only modified the constants.inc / war3source_interface.inc, so those are the only files you should need. Correct me if I'm wrong please. In order to use the new items, you must download the translation files... cause not having a translation file can cause you not to be able to use shopmenu items, or any menu for that matter. Please let me know how they work for you :P Title: Re: My SVN Updates Topic Post by: alex0310 on May 29, 2012, 12:38:33 PM War3Source_ShopItem_FireOrb.sp has trouble without #include <tf2> on my server.
When i added #include <tf2> then it began to work. have you it somewhere else? Title: Re: My SVN Updates Topic Post by: -El Diablo on May 29, 2012, 02:29:34 PM War3Source_ShopItem_FireOrb.sp has trouble without #include <tf2> on my server. When i added #include <tf2> then it began to work. have you it somewhere else? Some reason I didn't need to add that. I guess it was already included somehow in my svn package somewhere else... Title: Re: My SVN Updates Topic Post by: alex0310 on May 29, 2012, 09:43:14 PM War3Source_ShopItem_FireOrb.sp has trouble without #include <tf2> on my server. When i added #include <tf2> then it began to work. have you it somewhere else? Some reason I didn't need to add that. I guess it was already included somehow in my svn package somewhere else... Title: Re: My SVN Updates Topic Post by: -El Diablo on May 30, 2012, 09:20:06 PM http://ownageclan.com/svn/war3source/customstuff/branches/diablo/War3Source_Engine_MenuRacePlayerinfo.sp
Revised "Playerinfo" menu. Will show everything for your "myinfo", but will not show other players items. We felt that showing other players items gives advantages to those whom know the war3source game so well, that they are able to create counter stacks to wipe new players easier. We felt that not showing other players items to other players will create a even advantage. This will help balance the game. Title: Re: My SVN Updates Topic Post by: Necavi on May 30, 2012, 09:44:11 PM Much more likely it'll only hinder new players, who DON'T know spell effects and such, and who can't tell what the hell is going on, and what each item means, whereas if they can do a playerinfo on the person, see the items that they're wearing... Most veteran players will be able to recognize all items being used by a player VERY easily.
Title: Re: My SVN Updates Topic Post by: -El Diablo on May 31, 2012, 06:12:37 AM We have a few solutions to the current problem of new players.
1. We are creating a War3Source manual that they can view via MOTD. 2. We are working on a plugin that will guide them thru all the commands, items information, race information that they need to get a quick start. We plan to name this quick tutorial .. war3tutorial 3. The player's info (playerinfo) would be useable up to level total levels of 50. After 50 total levels, it removes the ability to see the other player's items. We will have to tweak this number here and there until we get a good level # to turn items viewable by other players off. We strongly feel that knowledgable players use this information too much as an advantage against new players. We may make it where certain items are "hidden" from the view of other players purposely. Maybe have a flag on it, where certain items are unable to be seen. Hopefully if the walking tutorial is successful, I'll post a version of it on war3source. I'm hoping to use the detection method that levelbanks use to detect a new player. Then give them a quick lesson on how to play the war3source mod. I understand most people just want to "quick play" it. I believe I'll give them a choice. Learn War3source mod or "quick play" using a quickplay race. Maybe create a "quickplay race" where it has only skills and no ultimates / abilities. If they want to move into the "real races", they can transfer their levels they earned playing this race into the levelbank system. This will be the only race that can transfer it's levels to the levelbank system. The Race will purposely tell them in chat different commands / shopitems and other useful information. If they want to stop the flow of information, it will tell them how to changerace. Kind of Nag them with information, and a constant info on the screen that says "if you no longer want to recieve beginner information, please type changerace and pick a race" These are some of my ideas, and methods I plan to use to help new players. I've even though about creating a special mod inside war3source that separates the bots from the players, and teaches the players the use of their skills, abilities, ultimates, items, etc. The whole works.. all on one server. When they are ready for a real game, to join the server with people on it. <<-- I'll probably have to wait until our servers become popular. Valve gives servers that have been running longer more credit than those just starting out. Overall, I'm working on something that will teach war3source better to those whom are new. The quicker someone can understand war3source, the more promising it will be for them to stay and play. Title: Re: My SVN Updates Topic Post by: -El Diablo on June 01, 2012, 05:57:46 AM Much more likely it'll only hinder new players, who DON'T know spell effects and such, and who can't tell what the hell is going on, and what each item means, whereas if they can do a playerinfo on the person, see the items that they're wearing... Most veteran players will be able to recognize all items being used by a player VERY easily. Actually we will probably end up creating a item (name not known yet) that will allow players to detect items on other players when they use the playerinfo command. I've found that players tend to save alot of gold, and this will be one of the ways to burn some of that gold. I wouldn't set it for high amount, because of the death rate of players. Maybe about 1 gold. I think our players are preparing for the upcoming items that will cost around 500 gold... :P We will post this item when its created to the SVN. Title: Re: My SVN Updates Topic Post by: -El Diablo on June 01, 2012, 09:05:37 PM I will be adding this as soon as the SVN is back online:
Native War3_RestoreItemsFromDeath(client,bool:payforit,bool:csmoney); player chat "say" command "buyprevious" buyprevious will buy shopmenu 1 items from the most recent previous life. It does not record this information in a database and resets this on map change. Title: Re: My SVN Updates Topic Post by: Vulpone on June 04, 2012, 03:24:53 AM i created a Fire Orb too, very long ago.
have you tested a 10 second burn? way too op mine is set to 0.2 seconds because that irritates and doesn't annoy anyone. I've made the experience that back when Goblin Tinker had that 3,5s Burn effect, it almost rendered the person a free kill. don't know how much burn effect affects TF2 players, but in Counterstrike:Source, the majority of the screen is taken up by that huge fire, you can barely see (let alone aim) and there also is a slowdown (can't hide from it very much) as well as a super annoying sound. if you plan to include compatibility for both games, my recommendation is to set burn duration to 0.1-0.5 seconds if the the game is CS. just my experience. much like fire in real life, you can burn yourself fairly easy ;3 Title: Re: My SVN Updates Topic Post by: -El Diablo on June 04, 2012, 06:22:27 AM i created a Fire Orb too, very long ago. have you tested a 10 second burn? way too op mine is set to 0.2 seconds because that irritates and doesn't annoy anyone. I've made the experience that back when Goblin Tinker had that 3,5s Burn effect, it almost rendered the person a free kill. don't know how much burn effect affects TF2 players, but in Counterstrike:Source, the majority of the screen is taken up by that huge fire, you can barely see (let alone aim) and there also is a slowdown (can't hide from it very much) as well as a super annoying sound. if you plan to include compatibility for both games, my recommendation is to set burn duration to 0.1-0.5 seconds if the the game is CS. just my experience. much like fire in real life, you can burn yourself fairly easy ;3 I agree, 10 seconds is too long.. even if players can buy Barrier of Hope to prevent it. I'll have to change it. I'll update that with new code sometime. If you was to look at my website, you'd see i have so many things on my plate its crazy! I'm like priortizing stuff crazyly.. BTW.. Fixed the BloodCrazy on Blood Hunter so that it no longer has a endless loop on fire. I watched it the other day on my server where a Blood Hunter hit someone that was on fire and it kept looping and looping. Even the Health Depo inside the spawn could not put the loop out. Holy Shield stopped the loop, but I felt it was sooo OP that I had to fix it. Blood Hunter hasn't been redone yet, so get the fix while its HOT! http://ownageclan.com/svn/war3source/customstuff/branches/diablo/War3Source_011_BloodHunter.sp Fix is starting on line 236. The Buyprevious is still being worked on as it has some bugs. I'll keep you all informed when I have submitted it to my SVN. I'm also thinking of making it able to take "buypre" and "buyprevious" as say commands. I'm wondering, does a player whom is Chronos should be allowed to set pipebombs and then place a victim inside and blow them up? Or is that exploiting Chronos? ... Also I've not tested the other exploit yet that someone has requested to be tested (damage from outside). I'll test that also this next coming weekend. Another fix I'm working on is the well known bloodmage phoenix spell. I have a possible fix, but I need more testing time. Will keep you informed. Title: Re: My SVN Updates Topic Post by: -El Diablo on June 17, 2012, 06:01:11 AM Major Update to my SVN:
New CommandHook buyprevious allows players to buy all the items they once had on death. -- known bug: if a player died while not having any items, he/she will not be able to "buyprevious". Buyprevious currently only records all items the player is carrying. If the player has no items when he/she dies, then it will record no items and when they use buyprevious it will buy "no items". New CommandHook myitems shows only players items to themselves Fixed dependencyID (not sure if it was my fix or original authors) Added: ShowOtherPlayerItemsCvar=CreateConVar("war3_show_playerinfo_other_player_items","1","0 disables showing other players items using playerinfo. [default 1]"); -- Requires Server Restart via sm_rcon quit Added new developer command: native War3_RestoreItemsFromDeath(client,bool:payforit,bool:csmoney); Updated: constants.inc and War3Source_Interface.inc Added iceman requested feature: ShowPlayerTotalLevelsOnConnect=CreateConVar("war3_show_total_levels_on_connect","0","0 is disabled, 1 is to all, 2 is to player only [default 0]"); -- Requires Server Restart via sm_rcon quit Minor updates: Helm, Barrier of Hope, Armor of Courage added shopmenuitem: Oil of Penetration Title: Re: My SVN Updates Topic Post by: -El Diablo on June 23, 2012, 03:05:57 AM Fixed bug:
* Buyprevious would allow people to buy more items than allowed by server Multiple fixes so that people can not break this code (hopefully). Buyprevious now replaces items correctly from what a player owns and what they had at death. http://ownageclan.com/svn/war3source/customstuff/branches/diablo/War3Source_Engine_ItemOwnership.sp Title: Re: My SVN Updates Topic Post by: zero on July 03, 2012, 09:57:16 PM What files would we need to use if we just wanted to be able to access the new natives or the new bImmunity_Items buff?
Or do we need to update our entire war3 install to access those features? Title: Re: My SVN Updates Topic Post by: Revan on July 04, 2012, 03:07:26 AM Yes, you need to Update your war3source to diablo's branch. I. Don't think you need to recompile everything cuz that bImmunity stuff is added to the in the enum.
Title: Re: My SVN Updates Topic Post by: -El Diablo on September 16, 2012, 10:19:13 PM Buyprevious say command bug finally fixed!
The bug? if someone bought an item or had a few items already before they used the buyprevious command, they would be able to go beyond the max allowed items allowed for any server running this bug. The fix was to remove only the items a player did not own when they died, then buy only the items they had when they died. This will also help not to overcharge a player. It also keeps tabs not to buy items they can not afford to buy. It lets the player know which items it discards, and buys. You will need my version of War3Source_Engine_ItemOwnership.sp and War3Source_Engine_CommandHook.sp from diablo's branch. Files to download: http://www.ownageclan.com/websvn/dl.php?repname=war3source&path=%2Fcustomstuff%2Fbranches%2Fdiablo%2FWar3Source_Engine_CommandHook.sp&rev=798&peg=798 http://www.ownageclan.com/websvn/dl.php?repname=war3source&path=%2Fcustomstuff%2Fbranches%2Fdiablo%2FWar3Source_Engine_ItemOwnership.sp&rev=798&peg=798 My version of ItemOwnership.sp and CommandHook.sp shouldn't be much different from the current version. I added to it, I did not make any modifications to the main source of those. Check back weekly, as I will continue to update my svn. I'll let everyone know if I take another long break, until then keep watching for updates. I'm going to continue to fix and create new natives. It will be up to Ownz if the new natives, or updates like "buyprevious" will be merging with the current orignal version of war3source. p.s. If your good at editing your own code, then read the following: If you do use my CommandHook.sp, you will find a say command called "myitems". If your merging this with your own version of war3source, then you may want to find this command and remove it. I created this for my own branch of war3source. Myitems only displays your shopmenu 1 items instead of having a screen full of everything else. starts on line 266: Code: else if(CommandCheck(arg1,"myitems")) { W3SetVar(EventArg1,client); W3CreateEvent(DoShowPlayerItemsOwnTarget,client); return returnblocking; } If you just want to add code to your CommandHook.sp file, then insert after the else if for "myinfo": Code: else if(CommandCheck(arg1,"buyprevious")) { if(War3_GetGame()==Game_TF) War3_RestoreItemsFromDeath(client,true,false); else if(War3_GetGame()==Game_CS) War3_RestoreItemsFromDeath(client,true,true); return returnblocking; } If you do not wish to add code to your commandhook.sp and prefer only a single file, then find the area in the War3source_engine_itemownership.sp where I start commenting out the /*public Action:Command_Say(client, args) and remove the /* */ command marks.. should allow you to only have to download and use war3source_engine_itemownership.sp.... just uncomment out line 32, 57 and 88. I hope this advanced info helps other developers^^ And as always please keep me informed on any bugs you find. Title: Re: My SVN Updates Topic Post by: -El Diablo on September 19, 2012, 09:09:50 PM Added War3Source_001_Vanilla.sp to my SVN.
/* Description A Race for developers whom want to test vanilla */ /* players (players without any modifications) vs */ /* what ever race they wish to go against. */ This is only a level 5 race, but you can add more levels by incrementing them number on the AddRaceSkill function. Adding more levels doesn't do anything special, because the race has no special abilities, skills, or ultimates. Those skills and ultimates are there for just show. The race's purpose is completely to see how a vanilla player would act inside war3source. |