Enchant above 9

This forum is for main questions (format files, STB / STL and so on).

Moderators: osRose dev team, ospRose dev team, osiRose dev team, Moderators

Forum rules
Client Editing is a delicate subject. osRose and osiRose will not support or use any Client Editing tool or results as a standard. So you are free to experiment, test, and develop there on Client Editing, but at your own risk :)

Enchant above 9

Postby Sethanye on Sun Jan 20, 2008 1:20 am

Well this is only an idea but does anyone know anything about this, maybe it would be possible to add enchants further than (9) its not hard to do on the server side, atleast the successes are listed easy, but does anyone know where it sits in the client.

Any ideas?

Thank you

Sethanye
~ Learning Flash ~ Anyone Know Any Good Tutorial DVDs? ~
Image
"Come Into My Dream, Let Me Show You Where I've Been.
Its You And Me I've Seen, Let Me Tell You What I Mean."
User avatar
Sethanye
Neko Chan
Neko Chan
 
Posts: 2603
Joined: Fri Jan 18, 2008 11:23 am
Location: ~ Resident Graphics Artist ~

Re: Enchant above 9

Postby Geobot on Sun Jan 20, 2008 2:21 am

well, the upgrade stuff for the client is listed in two STB files. i don't know if changing them alone is enough, but you can try it out and report back i suppose ^^

LIST_GRADE.STB - lists the bonus stats for each upgrade, and the glow color
LIST_UPGRADE.STB - list the success rates for refining

there's more to do server-side than just changing the refine rates though. you'll also have to add the new bonus values to the enumeration that lists them currently, and maybe some other stuff. that's just what i can think of off the top of my head.
Image
User avatar
Geobot
Antares
Antares
 
Posts: 342
Joined: Mon Oct 01, 2007 7:38 am

Re: Enchant above 9

Postby Sethanye on Sun Jan 20, 2008 9:21 am

well so far nothing good, maybe its somewhere on the server side idk, changing the glow works fine, but i added enchant 10, the line is easy, but the client doesn't recognize the command. /item 150 8 100 10 100 1 still spawns a (9) item >.< ill keep you updated in case anyone else is interested in this
~ Learning Flash ~ Anyone Know Any Good Tutorial DVDs? ~
Image
"Come Into My Dream, Let Me Show You Where I've Been.
Its You And Me I've Seen, Let Me Tell You What I Mean."
User avatar
Sethanye
Neko Chan
Neko Chan
 
Posts: 2603
Joined: Fri Jan 18, 2008 11:23 am
Location: ~ Resident Graphics Artist ~

Re: Enchant above 9

Postby Geobot on Sun Jan 20, 2008 9:30 am

there's a server-side cap to the /item command refine level. it's in gmcmds.cpp, on this line

itemrefine = atoi(tmp)<10?atoi(tmp)*16:9*16;

of course, you can always just edit the item's refine manually in the SQL for it, just remember that it should be refine*16, so refine (10) would be 160 in the database.
Image
User avatar
Geobot
Antares
Antares
 
Posts: 342
Joined: Mon Oct 01, 2007 7:38 am

Re: Enchant above 9

Postby Jvd on Sun Jan 20, 2008 11:06 am

ok so i changed <10 to <11 and 16:9 to 16:10
should that work?
Jvd
Smoulie
Smoulie
 
Posts: 51
Joined: Tue Sep 25, 2007 3:53 pm

Re: Enchant above 9

Postby psychoshooter on Sun Jan 20, 2008 12:51 pm

yup that should work i think.

greets psycho
Image
User avatar
psychoshooter
Lucky Ghost
Lucky Ghost
 
Posts: 572
Joined: Thu Sep 27, 2007 11:08 pm
Location: The Netherlands

Re: Enchant above 9

Postby Sethanye on Sun Jan 20, 2008 9:28 pm

well it doesnt >.< you can edit the item in the inv to make it 10 but the code doesnt work
~ Learning Flash ~ Anyone Know Any Good Tutorial DVDs? ~
Image
"Come Into My Dream, Let Me Show You Where I've Been.
Its You And Me I've Seen, Let Me Tell You What I Mean."
User avatar
Sethanye
Neko Chan
Neko Chan
 
Posts: 2603
Joined: Fri Jan 18, 2008 11:23 am
Location: ~ Resident Graphics Artist ~


Return to Client Editing Question Zone

Who is online

Users browsing this forum: No registered users and 2 guests