Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Tools

Archive::Tools Archive area for Tools's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-25-2003, 08:19 PM
melchoir's Avatar
melchoir
Fire Beetle
 
Join Date: Sep 2002
Posts: 8
Default Petition Manager

Don't remember if I posted this way back when I made it or not, but I figure, what the hell. This was a petition manager I made a while back for devn00b. If you want to check it out, grab it here.

I'm bored and will probably have some spare time, so if anyone is interested in it and wants me to add something to it, let me know.
__________________
Reply With Quote
  #2  
Old 06-26-2003, 03:22 AM
Edgar1898
Senior Member
Former EQEmu Developer
Current EQ2Emu Lead Developer
 
Join Date: Dec 2002
Posts: 1,065
Default

Whats this for? Is it an ingame ui for petitions? Does it use my old petition commands? (#viewpetition, #delpetition, #listpetition,#petitioninfo) If so I got the real petition system to work (the one that live uses) and its 1000% better than my old system with the # commands. It has a nice interface it lets you add comments to petitions, escalate them, shows you when they were sent, you dont need to know the petition number, it will use the /inquire command so you can place warnings on ppls accts, its nice.
__________________
Lethal Encounter
Reply With Quote
  #3  
Old 06-26-2003, 06:30 AM
melchoir's Avatar
melchoir
Fire Beetle
 
Join Date: Sep 2002
Posts: 8
Default ahh

Nope, mine is just a 3rd party (out-of-game) tool that I made a while ago. How exactly did /inquire work? Mine seperates the checked and unchecked petitions into two different lists.

With the interface you can check the petition text, add a comment, set the urgency level and it will leave your GM name so other GMs know who checked it.

Give it a try, see what you think. But if you have any ideas for something for me to add, let me know, I need something to work on
__________________
Reply With Quote
  #4  
Old 06-26-2003, 06:35 AM
Edgar1898
Senior Member
Former EQEmu Developer
Current EQ2Emu Lead Developer
 
Join Date: Dec 2002
Posts: 1,065
Default

/inquire charname PID (kinda like our acct name) lets you add warnings and praises to a character so that if a player exploits the gm can look at their acct and see if they warrant a suspension. Also its used on live for a way to track item reimbursements and other adjustments for future guides and gms to reference.
__________________
Lethal Encounter
Reply With Quote
  #5  
Old 06-26-2003, 06:47 AM
mangoo
Items Master
 
Join Date: Apr 2003
Posts: 293
Default

Edgar, is the code for the GUIDE window (petitions) in the current CVS? I'd love to have it
Reply With Quote
  #6  
Old 06-26-2003, 06:55 AM
Edgar1898
Senior Member
Former EQEmu Developer
Current EQ2Emu Lead Developer
 
Join Date: Dec 2002
Posts: 1,065
Default

No its only on my server atm I'm still making a few adjustments and I would like to get /inquire finished before I check it in because the petitions window has a button for inquires. Oh and one other thing the petitions windows works like live which might need some time getting used to when you want to send tells :P If you have a petition on your screen and hit the 't' button to send a tell it automatically puts in the characters name so you dont need to type it in.
__________________
Lethal Encounter
Reply With Quote
  #7  
Old 06-26-2003, 07:02 AM
melchoir's Avatar
melchoir
Fire Beetle
 
Join Date: Sep 2002
Posts: 8
Default Hmm

Code:
dib - int(10) unsigned
petid - int(10) unsigned
charname - varchar(32)
accountname - varchar(32)
lastgm - varchar(32)
petitiontext - text
gmtext - text
zone - varchar(32)
urgency - int(11)
charclass - int(11)
charrace - int(11)
charlevel - int(11)
checkouts - int(11)
unavailables - int(11)
ischeckedout - tinyint(4)
senttime - bigint(11)
That's the 'petitions' table struct, but I don't see any soulmark/warning field in there. Where does it store it?

**Edit: Do you have a newer version of the table or did you modify yours?**
__________________
Reply With Quote
  #8  
Old 06-26-2003, 07:09 AM
Edgar1898
Senior Member
Former EQEmu Developer
Current EQ2Emu Lead Developer
 
Join Date: Dec 2002
Posts: 1,065
Default

/inquire doesnt work with the current releases, I just recently discovered the structs. It will need a new table to hold these because petitions are meant to be erased, while Soulmarks (thats what /warn'ings and /praise's are) are meant to be stored forever. What /inquire does is simply retrieve these warnings and praises on the acct. Oh and it lets you add them also after the window pops up.
__________________
Lethal Encounter
Reply With Quote
  #9  
Old 06-26-2003, 07:14 AM
melchoir's Avatar
melchoir
Fire Beetle
 
Join Date: Sep 2002
Posts: 8
Default Ahh!

Ahh, that makes sense.

Do you have the struct finished? That would give me something to work on, if you could send me the .sql for it, assuming it's done.

Another thing, any idea how the senttime field works? If I remember right, it stores a large number in the field, but I'm not exactly sure how to convert it to actual time.
__________________
Reply With Quote
  #10  
Old 06-26-2003, 07:22 AM
Acolyte
Sarnak
 
Join Date: May 2002
Location: Oakland, CA
Posts: 83
Default

Actually, soulmarks are deletable.
__________________
The Acolyte
Reply With Quote
  #11  
Old 06-26-2003, 07:23 AM
Merth
Dragon
 
Join Date: May 2003
Location: Seattle, WA
Posts: 609
Default

Awesome, thanks a bunch for this, LE.
Reply With Quote
  #12  
Old 06-26-2003, 07:32 AM
melchoir's Avatar
melchoir
Fire Beetle
 
Join Date: Sep 2002
Posts: 8
Default T_T

/me cries
__________________
Reply With Quote
  #13  
Old 06-26-2003, 07:47 AM
Edgar1898
Senior Member
Former EQEmu Developer
Current EQ2Emu Lead Developer
 
Join Date: Dec 2002
Posts: 1,065
Default

Well the point was that they were designed to be kept while petitions werent designed to, thats what I was saying. I'm still working on the structs (I know what everything is and where its stored, I just have to finish making the table and add code to call from the table when needed), but I should have it done by next week or so. Oh and the sent time is just a unix timestamp, number of seconds since epoch.
__________________
Lethal Encounter
Reply With Quote
  #14  
Old 06-26-2003, 07:50 AM
melchoir's Avatar
melchoir
Fire Beetle
 
Join Date: Sep 2002
Posts: 8
Default cool

Sounds good.
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 11:23 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3