Oro Scroll ?

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 :)

Re: Oro Scroll ?

Postby PurpleYouko on Wed Jul 23, 2008 2:30 pm

post your code for the return scrolls section of ExtraFunctions.cpp so i can see what you are trying to do.
Need to lookup information on NARose items, skills, quests?
Now featuring a newly completed skill tree for all classes
Formatting fixed for different resolutions
Image

"A Gazelle is nothing but a giraffe plotted logarithmicaly"
User avatar
PurpleYouko
Rose Guru
Rose Guru
 
Posts: 4733
Joined: Fri Aug 10, 2007 2:05 pm

Re: Oro Scroll ?

Postby Blackdpd on Wed Jul 23, 2008 4:14 pm

  1. if( (useitem->itemnum>349 && useitem->itemnum<355) ||
  2.                 (useitem->itemnum>359 && useitem->itemnum<367) )


did you change this too?

if you did not then it doesnt work like before.

Blackdpd `
User avatar
Blackdpd
El Verloon Marshall
El Verloon Marshall
 
Posts: 900
Joined: Sun Jan 27, 2008 10:06 pm
Location: The Netherlands

Re: Oro Scroll ?

Postby Eowis on Wed Jul 23, 2008 6:03 pm

My files in the attachment.
Attachments
Files.rar
All Files
(58.36 KiB) Downloaded 551 times
*Sorry for my bad english*
Eowis
Pomic
Pomic
 
Posts: 103
Joined: Thu May 15, 2008 9:21 pm

Re: Oro Scroll ?

Postby PurpleYouko on Wed Jul 23, 2008 6:14 pm

You could have just put it in a code box y'know. ;)

I will take a look.
Need to lookup information on NARose items, skills, quests?
Now featuring a newly completed skill tree for all classes
Formatting fixed for different resolutions
Image

"A Gazelle is nothing but a giraffe plotted logarithmicaly"
User avatar
PurpleYouko
Rose Guru
Rose Guru
 
Posts: 4733
Joined: Fri Aug 10, 2007 2:05 pm

Re: Oro Scroll ?

Postby PurpleYouko on Wed Jul 23, 2008 6:24 pm

OK here is your problem. (the first one anyway.)
else//Return Scrolls
if( (useitem->itemnum>349 && useitem->itemnum<358) ||
(useitem->itemnum>359 && useitem->itemnum<365) )
{
if( thisclient->Stats->MP < 33 ){delete useitem;}
thisclient->Stats->MP -= 32;
useitem->usescript = 2;
switch( useitem->itemnum )
{
// other stuff deleted
// Oro Town
case 358:
useitem->usetype = 67;
useitem->usevalue = 51635236;
break;
}
}

the first line of code here only looks at any items with a useitem->itemnum value greater than 349 and less than 358
Your new scroll has a value of 358 so it never gets parsed. The code rejects it out of hand.

try replacing
  1. if( (useitem->itemnum>349 && useitem->itemnum<358) ||
  2.                 (useitem->itemnum>359 && useitem->itemnum<365) )

with
  1. if(useitem->itemnum>349 && useitem->itemnum<365)

I have no idea why it is specifically NOT looking at 358 and 359 anyway. Seems a bit weird.

Try this out first and see how it goes.
Hopefully i won't need to go through your STBs at all. ;)
Need to lookup information on NARose items, skills, quests?
Now featuring a newly completed skill tree for all classes
Formatting fixed for different resolutions
Image

"A Gazelle is nothing but a giraffe plotted logarithmicaly"
User avatar
PurpleYouko
Rose Guru
Rose Guru
 
Posts: 4733
Joined: Fri Aug 10, 2007 2:05 pm

Re: Oro Scroll ?

Postby Eowis on Wed Jul 23, 2008 8:07 pm

It Work :D


Thanks ;)
*Sorry for my bad english*
Eowis
Pomic
Pomic
 
Posts: 103
Joined: Thu May 15, 2008 9:21 pm

Previous

Return to Client Editing Question Zone

Who is online

Users browsing this forum: No registered users and 7 guests