Instant Level and Buffs

01/10/2014 18:50 asmodeus812#1
Came here to ask if some1 knows how to:

1. Make a higher starter level (for example 110 lv on a fresh made character)
2.How to buff urself rightaway with guild buffs etc
3.How to make freshmade characters to start with some certain items in their event/mall inventories !

I believe this is made with procedures on into the DB , maybe on each new record. But since i've been away i didnt quite follow the forums around would be nice if some1 gives a hand ! Well Thx and have a nice day!
01/10/2014 20:09 imarin#2
this code is from other forum:


PHP Code:
this i set for auto job change lv 50 (relogin for change job)
"RohanGame>Programmability>System Stored Procedures>ROHAN_EndGame"

this i have set for make new Character (give item to beginner)
"RohanGame>Programmability>System Stored Procedures>ROHAN_CreateCharacter" 
01/10/2014 20:58 mashiteri#3
Quote:
Originally Posted by imarin View Post
this code is from other forum:


PHP Code:
this i set for auto job change lv 50 (relogin for change job)
"RohanGame>Programmability>System Stored Procedures>ROHAN_EndGame"

this i have set for make new Character (give item to beginner)
"RohanGame>Programmability>System Stored Procedures>ROHAN_CreateCharacter" 

which forum?
01/11/2014 00:23 Dr.Dr.SheldonLeeCooper#4
Rage.Zone
01/11/2014 01:16 Luôô#5
Open the ROHAN_CreateCharacter function for modify

and add this for items at the end
Quote:
INSERT INTO dbo.TEventItem (type, attr, stack, rank, equip_level, equip_dexterity, equip_intelligence, equip_strength, char_id) VALUES (ITEMIDHERE, 0, 1, 0, 0, 0, 0, 0, @char_id)
you only need to change the itemid and the stack

for skills
Quote:
INSERT INTO dbo.TSkillAffect (char_id, kind, level, affect_time, event_time, param) VALUES (@char_id, KIND, LEVEL, TIME, 0, NULL)
Only change the kind, level and time and then save again.

For the start level open the function LOCAL_InsTCharacterAbility
and change
Quote:
set @level = 1

to this

set @level = 110
and save again.
01/11/2014 01:25 moviper#6
Quote:
Originally Posted by Dr.Dr.SheldonLeeCooper View Post
Rage.Zone
elitepvper.com :D
01/11/2014 14:41 flyghter#7
Guys do you know from where i can change abilty points for 1>50>70>99>110
01/11/2014 15:33 oziel235#8
Quote:
Originally Posted by flyghter View Post
Guys do you know from where i can change abilty points for 1>50>70>99>110
See the code below:

PHP Code:
INSERT INTO [RohanGame].[dbo].[TCharacterAbility]
           ([
char_id]
           ,[
ability_point]
           ,[
skill_point]
           ,[
strength]
           ,[
dexterity]
           ,[
intelligence]
           ,[
mentality]
           ,[
health]
           ,[
quickness]
           ,[
level])
     
VALUES
           
(<char_idint,>
           ,<
ability_pointsmallint,>
           ,<
skill_pointsmallint,>
           ,<
strengthsmallint,>
           ,<
dexteritysmallint,>
           ,<
intelligencesmallint,>
           ,<
mentalitysmallint,>
           ,<
healthsmallint,>
           ,<
quicknesssmallint,>
           ,<
levelsmallint,>)
GO 

:bandit:
06/23/2018 11:27 yurierodriguez#9
Quote:
Originally Posted by Luôô View Post
Open the ROHAN_CreateCharacter function for modify

and add this for items at the end

you only need to change the itemid and the stack

for skills

Only change the kind, level and time and then save again.

For the start level open the function LOCAL_InsTCharacterAbility
and change

and save again.
thanks big help ^_^ i have a qustion? how to add starting items for new chracter?
06/23/2018 16:50 im batman#10
Hopefully this will finally shut you the hell up:

sets new char to lvl 115
adds a bunch of crap to the event inventory
pops a bunch of guild skills


It is messy, brute force method but it works for some. You can thank Ammadpurba for this shitty indo-style trash which is why I don't mind giving it to you FOR FREE. If you have any issues with it, talk to him - maybe he won't charge you a lot of money for the answers.

Personally i would NEVER inline code it like this and I would never Ever start a character at max level. It is some of the messiest TSQL code ever.