More potions for rev79...

If you want to help us or give some corrections / codes, put it here ;)

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

More potions for rev79...

Postby Terr0risT on Tue Sep 11, 2007 12:26 am

Currently, up until rev78, these potions do not work:

Max HP Potion
Max MP Potion
Purify Potion (Solo)
Stealth Potion
Movement Potion
Defense Potion
Attack Potion
Magic Resistance Potion
Accuracy Potion
Dodge Potion
Attack Speed Potion
Critical Potion
Damage Enhancement Potion


The reason is simple, a small piece of code is missing. I don't know if it was taken out or just wasn't really there. I checked the skills_data and useitem.csv, and it was all fine except the missing code. So, if you could add this to rev79 it would make a better ROSE i think.

In Extrafunctions.cpp

Replace
  1. if((useitem->itemnum>300 && useitem->itemnum<320)|| (useitem->itemnum>960 && useitem->itemnum<965))



with
  1. if((useitem->itemnum>79 && useitem->itemnum<93) || (useitem->itemnum>300 && useitem->itemnum<320) || (useitem->itemnum>960 && useitem->itemnum<965))


NOTE: Stealth and Damage enhancement potions might not work for now but until someone can provide us with a code for these skills to work, we might have to just wait. :mrgreen:
User avatar
Terr0risT
Rackie
Rackie
 
Posts: 162
Joined: Sat Aug 11, 2007 10:22 am

Re: More potions for rev79...

Postby rl2171 on Tue Sep 11, 2007 12:46 am

I had added this to Rev79.

I don't think it was ever in it ;(

But it is now.

Thanks again!

Rob
Image
rl2171
Admin
Admin
 
Posts: 1706
Joined: Mon Aug 06, 2007 5:17 pm
Location: Sacramento, CA USA - GMT-8

Re: More potions for rev79...

Postby Terr0risT on Tue Sep 11, 2007 2:44 pm

I wonder if you can take time to add these as map drops for rev79.. not really common, but also not very rare. :mrgreen:

Some server admins just see it difficult to edit drops. So maybe we could add this to our default? It's up to you. :D
User avatar
Terr0risT
Rackie
Rackie
 
Posts: 162
Joined: Sat Aug 11, 2007 10:22 am

Re: More potions for rev79...

Postby rl2171 on Tue Sep 11, 2007 2:54 pm

Terr0risT wrote:I wonder if you can take time to add these as map drops for rev79.. not really common, but also not very rare. :mrgreen:

Some server admins just see it difficult to edit drops. So maybe we could add this to our default? It's up to you. :D


If someone wants to submit a different drops, we can add it to 79, but that maybe rushed. Or it can wait and be submitted later (it doesn't have to come out at same time).
Image
rl2171
Admin
Admin
 
Posts: 1706
Joined: Mon Aug 06, 2007 5:17 pm
Location: Sacramento, CA USA - GMT-8

Re: More potions for rev79...

Postby rl2171 on Tue Sep 11, 2007 4:33 pm

Very strange, I compiled this last night, it compiled with no problems.

I just tried for the first time and I am getting invalid item when attempting each of these. It is in the use_item.csv, is there someplace else I am missing it?

Rob


Terr0risT wrote:Currently, up until rev78, these potions do not work:

In Extrafunctions.cpp

Replace
  1. if((useitem->itemnum>300 && useitem->itemnum<320)|| (useitem->itemnum>960 && useitem->itemnum<965))



with
  1. if((useitem->itemnum>79 && useitem->itemnum<93) || (useitem->itemnum>300 && useitem->itemnum<320) || (useitem->itemnum>960 && useitem->itemnum<965))


NOTE: Stealth and Damage enhancement potions might not work for now but until someone can provide us with a code for these skills to work, we might have to just wait. :mrgreen:
Image
rl2171
Admin
Admin
 
Posts: 1706
Joined: Mon Aug 06, 2007 5:17 pm
Location: Sacramento, CA USA - GMT-8

Re: More potions for rev79...

Postby rl2171 on Tue Sep 11, 2007 5:01 pm

Can I say OOPS!!!!!

I added something else and forgot the ELSE command.

Now it works. No wonder it wasn't working ;)

Rob



rl2171 wrote:Very strange, I compiled this last night, it compiled with no problems.

I just tried for the first time and I am getting invalid item when attempting each of these. It is in the use_item.csv, is there someplace else I am missing it?

Rob
Image
rl2171
Admin
Admin
 
Posts: 1706
Joined: Mon Aug 06, 2007 5:17 pm
Location: Sacramento, CA USA - GMT-8

Re: More potions for rev79...

Postby redgie on Sat May 15, 2010 4:14 am

im currently using 81.360

when i use those pots... it heals but after 2 or 3 secs it goes back to the HP before is use like.

my hp is 300/1000 then i use large Hp pots then it should be 700/1000 after 2 or 3 secs it will go back to 300/1000 T_T help please
redgie
Rackie
Rackie
 
Posts: 267
Joined: Tue Apr 14, 2009 10:03 am

Re: More potions for rev79...

Postby lmame on Sat May 15, 2010 10:44 am

Post in BUGS forum please, with details of the pots you're using instead of posting here.
The world is full of love and peace ^_^
Image
User avatar
lmame
Admin
Admin
 
Posts: 8997
Joined: Mon Aug 06, 2007 4:42 pm
Location: July City


Return to Submit Code

Who is online

Users browsing this forum: No registered users and 3 guests

cron