Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Eudemons Online > EO PServer Hosting > EO PServer Guides & Releases
You last visited: Today at 21:05

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Guide] Friend Exp exchanged into EPs

Discussion on [Guide] Friend Exp exchanged into EPs within the EO PServer Guides & Releases forum part of the EO PServer Hosting category.

Reply
 
Old   #1
 
SoulNecturn's Avatar
 
elite*gold: 100
Join Date: Oct 2008
Posts: 636
Received Thanks: 1,208
[Guide] Friend Exp exchanged into EPs

ok, not sure if anyone interested, but this is simplest way to give players more pleasure

Description:
Does under your server players cant use anymore Friend Exp?? They have max level but firiend Exp still rising and rising...

well there is an way out - you can make an even for them - for instance: once per week you can exchange this gathered friend exp of all players from certain group and give them for it EP..

HOW?

Code:
update cq_user set Friend_share = 23998212 where Friend_share > 23998212;
23998212 - means that they will get max 2 mill ep

you can for example change this limit to 1millep so it will be
23998212/2 = 11999106

or make it 5 mill = 11999106*5 = 59995530
I hope you catch this limit

If you dont wanna limit it - just dont run this query never .. BUt if you want - always run it before this next one


Code:
update cq_user set Friend_share = Friend_share*0.16668 where level = 255;
update cq_user set Friend_share = Friend_share/2 where level = 255;
update cq_user set emoney = emoney + Friend_share where level = 255;
update cq_user set Friend_share = 0 where level = 255;
now:

** All this codes you must use while maintenance (to be sure that no characters are online so it will 100% work)

** first code you can use in query to limit max ep that players will receive after using next query...

** this second query that has 4 actions will:
-> convert their exp into certain number that will correspond to this that is visible under client (in percent) (since in DB this number isnt same)
-> will divide this number into 2
-> will grow certain player ep amount for additional number from this exp convertion
-> will reset all players friend share to 0

AND all this is set here only for players who have 255 lvl (I believe most server has 255lvl peak - so from this time friend exp is useless)

OK more info about this feature can be read under our web:


I know its hand work - but it takes seconds to do it - but many players can benefit and feelll happy

Regards
SoulNecturn is offline  
Thanks
30 Users
Old 09/01/2009, 15:56   #2
 
funhacker's Avatar
 
elite*gold: 20
Join Date: Sep 2007
Posts: 1,767
Received Thanks: 1,741
just a suggestion I would not know if this is the right syntax because we are implamenting a simliar system but instead it will be user controlled not maintenance.

I would suggest another table if you wanted to limit the amount of EP given each day/week/month. Without removing the whole friendshare exp. This way they are limited to their 2mil (your example) per script run but do not lose the total accumalated.

TableName cq_award
Fields:
id,amount
Code:
update cq_award 
using cq_award inner join cq_user 
set cq_award.id = cq_user.id,
cq_award.amount = cq_user.Friend_Share 
where 
level > 254;

update cq_award 
set amount = 23998212 
where 
amount > 23998212;

update cq_user using 
cq_user inner join cq_award 
on cq_user.id = cq_award.id 
set cq_user.emoney = cq_user.emoney + cq_award.amount*0.16668,
cq_user.Friend_Share = cq_user.Friend_Share - cq_award.amount;
I would suggest testing this first if you were going to try in theory this should work but I never say anything will work untill tested.
I am not trying to shoot your ideas soul just adding a suggestion if you didn't want to completely remove their friendshare.
funhacker is offline  
Thanks
7 Users
Old 09/01/2009, 16:29   #3
 
SoulNecturn's Avatar
 
elite*gold: 100
Join Date: Oct 2008
Posts: 636
Received Thanks: 1,208
yea I know what you mean - your version will be probably advanced and more user friendly :P ... well I didnt have fun to prepare software that will give players ability to do it by hand ... but like I wrote its simple fastest version just for run inside query

and yea any upgrades are welcome - I believe many servers would use it in future as cool for players
SoulNecturn is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Help] Friend Exp into pp via npc
08/10/2010 - EO PServer Hosting - 4 Replies
ok so what im trying to do is have it to where people who are lvl 255 can change there friend exp into pp via npc, I've been working on this for awhile and im starting to think it is not possible, none the less i will keep trying lol. If someone could help me with this i would gratefully appreciate it. :) Here's what i got so far: 1010000100 1010000101 0 101 0 Hello~%user_name!~H ere~you~can~exchange~friend~exp~for~pp!! 1010000101 1010000103 0 101 0 You~must~be~Level~2 55~to~exchange~for~pp....
Thank you every friend
06/17/2010 - Say Hello - 3 Replies
I like to hear :handsdown:
Recruit a Friend (1-60 Guide)
08/29/2009 - WoW Guides & Templates - 29 Replies
This is from Rill on Hellscream server. Enjoy! : ) Quote: Recruit-A-Friend So you want to recruit-a-friend huh? You have a lot of questions and need some help eh? Well youve come to the right place! This guide contains step-by-step instructions to getting started, tips for leveling and all the cost involved. Before we begin, you may want to take a gander at the Offical FAQ (Blizzard Support) about the Recruit-A-Friend program. Terms | Getting Started | Upgrading | Pros &...
Say Hello to my lil friend :D
05/31/2008 - Say Hello - 0 Replies
Hi guys MY name is Farin.
I have this friend...
11/20/2006 - Conquer Online 2 - 8 Replies
who may or may not have been running cotobo and a speed hack at the same time and her account may or may not be locked...is there a fix? or am I perma banned? Can I purchase a db code to make it all go away? lol



All times are GMT +2. The time now is 21:05.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.