Custom drops code (prequel to custom events)

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

Re: Custom drops code (prequel to custom events)

Postby PurpleYouko on Fri Oct 17, 2008 1:51 pm

I didn't know it was included in the osrose SVN :o

it shouldn't be.

Mobgroups are only used in osprose and osirose (and of course rev 81 when it is released)

And no. it has nothing to do with the drops functions.
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: Custom drops code (prequel to custom events)

Postby rl2171 on Fri Oct 17, 2008 2:17 pm

Zell Dinch wrote:That's why i asked you 'bout mobgroups. You included the mobgroups table in db files , however there's nowhere loads those records. I wondered if mobgroups code is a requirement for PYDrops?


There is alot included there that is not for Rev80!

Just continue to use the original mobspawns db for now.

As far as being a requirement for PYDrops, I dont think it was, but I could be wrong.
Image
rl2171
Admin
Admin
 
Posts: 1706
Joined: Mon Aug 06, 2007 5:17 pm
Location: Sacramento, CA USA - GMT-8

Re: Custom drops code (prequel to custom events)

Postby PurpleYouko on Fri Oct 17, 2008 2:24 pm

the original code for PYDrops predated mobspawns by about 2 years :lol:

It definitely is NOT a requirement.
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: Custom drops code (prequel to custom events)

Postby Zell Dinch on Fri Oct 17, 2008 4:15 pm

I tried to delete some records in item_drops table and I've found that that: if there are less than 767 record in item_drops, there'll be no problem.
Zell Dinch
Smoulie
Smoulie
 
Posts: 44
Joined: Wed Sep 26, 2007 5:45 pm

Re: Custom drops code (prequel to custom events)

Postby PurpleYouko on Fri Oct 17, 2008 4:26 pm

That's pretty strange. :?

I have over 2000 without any problem .
There should be no upper limit to it as the drops are stored in a vector list that can be expanded infinitely (at least till your computer runs out of memory anyway)
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: Custom drops code (prequel to custom events)

Postby Zell Dinch on Fri Oct 17, 2008 4:31 pm

In other face, when I use osirose or osprose, i can expand the item_drops table as large as i want. So, I don't think it's computer problem.
Zell Dinch
Smoulie
Smoulie
 
Posts: 44
Joined: Wed Sep 26, 2007 5:45 pm

Re: Custom drops code (prequel to custom events)

Postby PurpleYouko on Fri Oct 17, 2008 4:40 pm

Didn't think it was.

So what is different in the code between the servers. If you added it correctly they should be identical.

This code was originally developed for an evo system based (rather loosely) on osrose rev 63. There were no restrictions on the size of the list there either.
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: Custom drops code (prequel to custom events)

Postby lmame on Fri Oct 17, 2008 11:38 pm

Did you check the index[] limits?
viewtopic.php?f=18&t=1863
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

Re: Custom drops code (prequel to custom events)

Postby Zell Dinch on Sat Oct 18, 2008 4:24 am

Yes, already applied that patch.
Zell Dinch
Smoulie
Smoulie
 
Posts: 44
Joined: Wed Sep 26, 2007 5:45 pm

Re: Custom drops code (prequel to custom events)

Postby renzo17 on Wed Jul 08, 2009 3:59 pm

I did all of this but it wont work.
If I kill jelly beans with lvl 250 I get about 300 apples and I just want nothing in a high lvl for jelly beans.
When I try it in a low lvl like 10 or something I get about 3 or 2 or 1 apples. Someone could help me out? I really need help because I did so much and I am really pissed about it now. Please help :!: :cry:
renzo17
Jelly Bean
Jelly Bean
 
Posts: 27
Joined: Sat Jul 04, 2009 8:52 am

PreviousNext

Return to Submit Code

Who is online

Users browsing this forum: No registered users and 7 guests