Premium Services NPC

joven15

New member
Messages
152
Points
0
prontera,164,169,3 script Premium Trader 757,{mes "Wan to be Premium Users for 1 week ?";mes "Then give me "+7+" x "+getitemname(7179);if( countitem(7179) >= 7 ) { if( select("YES:NO") == 1 ){ delitem 7179,7; set #PremiumUser,gettimetick(2) + ( .Day * 3600 * 24 ); sc_start SC_ITEMBOOST,( #PremiumUser * 2000 ),400; sc_start SC_EXPBOOST,( #PremiumUser * 2000 ),400; mes "Done. enjoy your Premium Services for 1 Week."; }}close;OnPCLoginEvent:if( #PremiumUser > gettimetick(2) ){ sc_start SC_ITEMBOOST,( ( #PremiumUser - gettimetick(2) ) * 2000 ),400; sc_start SC_EXPBOOST,( ( #PremiumUser - gettimetick(2) ) * 2000 ),400;}end;}
Can someone help me. when i try to give the proof of donation. which is the requirements for the premium services. i got this error

[Warning]: script:op_2num: overflow detected op=C_MUL i1=1377056730 i2=1000
[Debug]: Source (NPC): Premium NPC at prontera (151,185)
[Warning]: script:op_2num: overflow detected op=C_MUL i1=1377056730 i2=1000
[Debug]: Source (NPC): Premium NPC at prontera (151,185)
and my character is not moving like freezing.. hope someone help me.

and also can someone revised it for example

1. Every 1 hour the npc will announce by himself that the minutes left of your premium services.

2. if you already purchase the premium. the npc will say You a Premium user. 

3. And the name will be change the color. Example my Name is Anela the default color of the name is white. then after i purchased the Premium Service my name will be red. or any color. 

is it possible?

btw the script is posted and created by Emistry.

 
you didn't used upaste
default_sad.png
change .Day into 7 to see if it fixes the debug/warning

3. is not possible

 
you didn't used upaste
default_sad.png
change .Day into 7 to see if it fixes the debug/warning

3. is not possible
http://upaste.me/298f11516c870d521 -- Here's the file. sorry i always forget upaste is the best for pasting code.

you didn't used upaste
default_sad.png
change .Day into 7 to see if it fixes the debug/warning

3. is not possible
btw u said that. the 3 is impossible to do it. any possible that the character is on premium services so the other player will notice it?

you didn't used upaste
default_sad.png
change .Day into 7 to see if it fixes the debug/warning

3. is not possible
still got the error. still got the error and all my character is freezing.
default_sad.png
what happen?

you didn't used upaste
default_sad.png
change .Day into 7 to see if it fixes the debug/warning

3. is not possible
35lzq1c.jpg


here's my Printscreen not moving anything when i create another character. same as what happen not moving

 
Last edited by a moderator:
you may want to try this npc that I edited for you, made by brianL http://upaste.me/11c911517cf9cd8b7

and for the freezing on the another script you have to change:

SC_ITEMBOOST into SC_CASH_RECEIVEITEM

SC_EXPBOOST into SC_CASH_PLUSEXP

 
you may want to try this npc that I edited for you, made by brianL http://upaste.me/11c911517cf9cd8b7

and for the freezing on the another script you have to change:

SC_ITEMBOOST into SC_CASH_RECEIVEITEM

SC_EXPBOOST into SC_CASH_PLUSEXP
how to use that ? the one you send a link. btw do i need to add the item_db to use it. if yes. can u convert it into new item_db script im using a newer Version of hercules.

Code:
{	Id: 501	AegisName: "Red_Potion"	Name: "Red Potion"	Type: 0	Buy: 50	Weight: 70	Upper: 63	Script: <" itemheal rand(45,65),0; ">},
you may want to try this npc that I edited for you, made by brianL http://upaste.me/11c911517cf9cd8b7

and for the freezing on the another script you have to change:

SC_ITEMBOOST into SC_CASH_RECEIVEITEM

SC_EXPBOOST into SC_CASH_PLUSEXP
btw its working. here's my other concern. is it possible even the chracter is logout the time of consuming is running even if hes logout.

 
Last edited by a moderator:
you may want to try this npc that I edited for you, made by brianL http://upaste.me/11c911517cf9cd8b7

and for the freezing on the another script you have to change:

SC_ITEMBOOST into SC_CASH_RECEIVEITEM

SC_EXPBOOST into SC_CASH_PLUSEXP
how to use that ? the one you send a link. btw do i need to add the item_db to use it. if yes. can u convert it into new item_db script im using a newer Version of hercules.

{ Id: 501 AegisName: "Red_Potion" Name: "Red Potion" Type: 0 Buy: 50 Weight: 70 Upper: 63 Script: <" itemheal rand(45,65),0; ">},
oh sorry
default_tongue.png
use:

Script: <" callfunc "F_VIPstart",604800; ">

and

Type: 0

into

Type: 2

joven15 said:
you may want to try this npc that I edited for you, made by brianL http://upaste.me/11c911517cf9cd8b7

and for the freezing on the another script you have to change:

SC_ITEMBOOST into SC_CASH_RECEIVEITEM

SC_EXPBOOST into SC_CASH_PLUSEXP
btw its working. here's my other concern. is it possible even the chracter is logout the time of consuming is running even if  hes logout.
with your script not, unless we do some mods to it, but then it would be the same like the one from brianL
default_tongue.png


 
you may want to try this npc that I edited for you, made by brianL http://upaste.me/11c911517cf9cd8b7

and for the freezing on the another script you have to change:

SC_ITEMBOOST into SC_CASH_RECEIVEITEM

SC_EXPBOOST into SC_CASH_PLUSEXP
how to use that ? the one you send a link. btw do i need to add the item_db to use it. if yes. can u convert it into new item_db script im using a newer Version of hercules.

{ Id: 501 AegisName: "Red_Potion" Name: "Red Potion" Type: 0 Buy: 50 Weight: 70 Upper: 63 Script: <" itemheal rand(45,65),0; ">},
oh sorry
default_tongue.png
use:

Script: <" callfunc "F_VIPstart",604800; ">

and

Type: 0

into

Type: 2

joven15 said:
> 

you may want to try this npc that I edited for you, made by brianL http://upaste.me/11c911517cf9cd8b7

and for the freezing on the another script you have to change:

SC_ITEMBOOST into SC_CASH_RECEIVEITEM

SC_EXPBOOST into SC_CASH_PLUSEXP
btw its working. here's my other concern. is it possible even the chracter is logout the time of consuming is running even if  hes logout.
with your script not, unless we do some mods to it, but then it would be the same like the one from brianL
default_tongue.png
is possible if some mods? is it hard?

 
now it MUST work, last time my ctrl+c didn't worked well lol, try this:

http://upaste.me/a88a11520ab1f855f
ye the npc is working but how the script going? i saw some message appear " you are now a premium member" but theres no time left like this

 SC_CASH_RECEIVEITEM

 SC_CASH_PLUSEXP

 and after i purchased the premium i can buy again wat do i mean is. the npc cant detect if im still a premium user.

and i got error on my sql.

23le58j.jpg


btw thank you very much for helping me a lot.

 
Last edited by a moderator:
solved all issues, but not the SQL errors, are you using latest hercules version?

http://upaste.me/r/329811521cad4ad04
i dont know what version but i used the latest thought. i saw server support up to "4096" concurrent connections. it appears the error when i try to purchase the premium services.
default_sad.png


solved all issues, but not the SQL errors, are you using latest hercules version?

http://upaste.me/r/329811521cad4ad04
seems the sql error is gone when i try to restart the whole server. btw how can i edit the exp bonus is it x2 on then conf/battle/exp.conf. meaning is it auto or do i have to change it into x2 exp value.?>

 
Last edited by a moderator:
I didn't understand your question xD but I'll explain:

ModExp = 100 = normal exp (100%)

ModExp = 150 = 50% plus normal exp (150%)

is that what you wanted to know? the same goes with ModDrop

 
I didn't understand your question xD but I'll explain:

ModExp = 100 = normal exp (100%)

ModExp = 150 = 50% plus normal exp (150%)

is that what you wanted to know? the same goes with ModDrop
sorry. for not clarifying my question.

here. on my config. im using it  Base_EXP and Job_Exp 1500 on my /config/battle/exp.conf 

and some of my drop rate. like boss and item monster 

drop item. - 1000 = meaning o 10%

drop card item. 1000 = meaning o 10%

boss drop item 1000 = meaning o 10%

boss card drop. 150 meaning 1%

now here's my question. on the script that u made. when i set it on the MODEXP and  MODDROP. is it automatic to add the rate or it will multiply ? now is it possible if this script will be given the all of the drop, exp, rate etc. will be just multiply?

like when i set 3 meaning the drop rate will be x3 on the config for example. when i set 3 the exp will be this.

drop item. - 3000 = meaning o 30%

drop card item. 3000 = meaning o 30%

boss drop item 3000 = meaning o 30%

boss card drop. 450 meaning 4.5%

. sorry for many request.

 
yeah, 300 = 3x
default_smile.png


ModDrop = 300

and yes it adds to every drop

 
Back
Top