WaMMO Servers - Private Servers Community



Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-07-2007, 04:27 PM
thothramerkaba's Avatar
WaMMO Player
 
Join Date: Jul 2007
Location: Some Vortex in Oklahoma
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Changes to Player.cpp

I have found the area of Player.cpp that awards item "procs" off of killing blows, some classes have abilities and there are a ton of trinkets that do this as well. Well once you hit level 70 they stop working because nothing awards you EXP any more. The adjustment is quite simple but untested.
If you have an unedited Player.cpp make the following changes.

Line #1232 should read
Code:
return;
Select line #1232 and paste the following in it's place.
Code:
{
 HandleProc(PROC_ON_GAIN_EXPIERIENCE, this, NULL);
 return;
}
And this should award you the "procing" abilities even at level 70. Known classes to test this with are the rogues Remorselessnesssss talent and the warrior ability Victory Rush, also there are a ton of trinket that have the ability "procs" for awarded exp or honor.
Reply With Quote
  #2 (permalink)  
Old 08-07-2007, 04:40 PM
thothramerkaba's Avatar
WaMMO Player
 
Join Date: Jul 2007
Location: Some Vortex in Oklahoma
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Update to Player.cpp

There is a bug with some players having more than 61 talent point through GM intervention. Since there are multiple commands to adjust the level of a player there are going to be multiple places where this bug exists but I may have found the core of the problem.
Change line #6704 of player.cpp from..
Code:
if(Level >= 10)
 TalentPoints=Level-9;
to read
Code:
if(Level >= 10)
{
	TalentPoints = Level - 9;
	if(TalentPoints>61)
	{
		Reset_Talents();
		TalentPoints=61;
	}
}
This will reset their outstanding talents, and give them the max if they are over the limit.

Last edited by thothramerkaba; 08-07-2007 at 04:51 PM.
Reply With Quote
  #3 (permalink)  
Old 08-07-2007, 05:27 PM
thothramerkaba's Avatar
WaMMO Player
 
Join Date: Jul 2007
Location: Some Vortex in Oklahoma
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Update to Spell.cpp

Thrown items delete the item as opposed to removing 1 durability. The fix for this is as follows.
Change lines #2057 to read REPLACE THE ENTIRE IF STATEMENT!!
Code:
if(it)
 it->SetDurability(it->GetDurability()-1);
The project is building with all the mods I made today, I will post if it does or does not compile.
Reply With Quote
  #4 (permalink)  
Old 08-07-2007, 05:32 PM
thothramerkaba's Avatar
WaMMO Player
 
Join Date: Jul 2007
Location: Some Vortex in Oklahoma
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Red face It Compiled!

All of the previous updates I posted compiled with no errors, now lets implement them on a test server, test them out, and see if it works/crashes.
Reply With Quote
  #5 (permalink)  
Old 08-07-2007, 06:38 PM
SYN's Avatar
SYN SYN is offline
Server Founder
 
Join Date: Jul 2007
Posts: 1,357
My Mood:
Thanks: 4
Thanked 52 Times in 11 Posts
Looking good buddy. I need to save all these snippets for when we grab the newest SVN this weekend. Check out http://www.ascentemu.com if you really want to dive head deep into the core.

Good work.
__________________


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

WaMMO Support Here ->
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


Reply With Quote
  #6 (permalink)  
Old 08-08-2007, 01:08 AM
thothramerkaba's Avatar
WaMMO Player
 
Join Date: Jul 2007
Location: Some Vortex in Oklahoma
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks, I got the SVN today so it should be recent.
Reply With Quote
  #7 (permalink)  
Old 08-08-2007, 02:36 AM
mozzar's Avatar
WaMMO Player
 
Join Date: Jul 2007
Posts: 40
My Mood:
Thanks: 0
Thanked 0 Times in 0 Posts
Man i could study in this for years and still wonder what the hell you going on about lol...Nice work.

We appreciate all your efforts man me especially for making this server even better take a bow !!!!!!!!
Reply With Quote
  #8 (permalink)  
Old 08-08-2007, 02:38 AM
thothramerkaba's Avatar
WaMMO Player
 
Join Date: Jul 2007
Location: Some Vortex in Oklahoma
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
I won't be satisfied until I nerf the hell out of the paladin stun lock bug.
Reply With Quote
  #9 (permalink)  
Old 08-08-2007, 01:15 PM
thothramerkaba's Avatar
WaMMO Player
 
Join Date: Jul 2007
Location: Some Vortex in Oklahoma
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Dimishing Returns

Someone thought it would be nice for an initial 15 second DR, then a 7.5, then a 5.. This is a little over powered and is the source of the paladin stun lock bug. On live servers the Diminishing Returns start at 45 seconds, I suggest we make the same change.

In SPELLS.CPP
line #3741
Code:
Target->m_diminishTimer[Grp] = 45000;
This will increase the timer to 45 seconds.
Reply With Quote
  #10 (permalink)  
Old 08-08-2007, 03:34 PM
SYN's Avatar
SYN SYN is offline
Server Founder
 
Join Date: Jul 2007
Posts: 1,357
My Mood:
Thanks: 4
Thanked 52 Times in 11 Posts
The Paladin stun lock is due to a 100% chance on hit 2 second stun; instead of a 12% chance on hit 2 second stun.
__________________


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

WaMMO Support Here ->
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 01:42 AM.


A vBSkinworks Design
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0