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 Zell Dinch on Mon Oct 13, 2008 6:16 am

No, i excuted all, included mobgroups, item_drops, list_spellbooks. And everything worked fine until this code's installed
Zell Dinch
Smoulie
Smoulie
 
Posts: 44
Joined: Wed Sep 26, 2007 5:45 pm

Re: Custom drops code (prequel to custom events)

Postby lmame on Mon Oct 13, 2008 6:18 am

If you're using client 182 files (from submit code forum), did you apply the patches as well?
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 Mon Oct 13, 2008 6:37 am

I'd applied all the patches. And I said that everything worked fine 'till i put this code in. In other face, i want to use this code very much.
Zell Dinch
Smoulie
Smoulie
 
Posts: 44
Joined: Wed Sep 26, 2007 5:45 pm

Re: Custom drops code (prequel to custom events)

Postby Sethanye on Mon Oct 13, 2008 11:54 am

well obviouslly ur putting it in somehow wrong >.>
~ 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: Custom drops code (prequel to custom events)

Postby PurpleYouko on Mon Oct 13, 2008 2:07 pm

Strangely this is not the first time that somebody has had the worldserver hang at exactly this point after adding the newest SQL files.
I've been trying to help somebody for a couple of weeks with this exact issue. Nothing i suggested has worked up to this point.
I don't have an osrose rev 80 server set up so it so there's not much else i can do at this point.
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 Mon Oct 13, 2008 10:38 pm

Index problem? Only debug could tell.
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 Sethanye on Tue Oct 14, 2008 9:47 am

yeah and which of those n00bs do you think is capable of debuging? :P
~ 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: Custom drops code (prequel to custom events)

Postby PurpleYouko on Tue Oct 14, 2008 1:55 pm

lmame wrote:Index problem? Only debug could tell.

Yeah that's what i thought.
I had him run in debug mode in dev c++.
It didn't tell us a thing though. Either he has something configured wrong so that his debug mode isn't working or this is one of the cases where it really does just hang without actually crashing.

The only other places I have come across this kind of thing are in SQL queries where I forgot to use GServer->DB->QFree( ); after a SELECT query.
If you do that then it really does just hang. No debug messages, no disconnects, nothing. It simply freezes the code like it was in an infinite loop.
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 Tue Oct 14, 2008 5:29 pm

Devc++ is very bad at debug... That's why I use CB.
As for SQL, it happened to me too, loosing mysql handle because of index "overrun".
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 Thu Oct 16, 2008 12:50 pm

Well, I put these:
  1. newnpc->side = 0;
  2.         newnpc->sidechance = 0;

below
  1. newnpc->shp = atoi(row[26]);  

in startup.cpp , is that right?
Zell Dinch
Smoulie
Smoulie
 
Posts: 44
Joined: Wed Sep 26, 2007 5:45 pm

PreviousNext

Return to Submit Code

Who is online

Users browsing this forum: No registered users and 3 guests

cron