FAQFAQ RegisterRegister
SearchSearch ProfileProfile
MemberlistMemberlist Log in to check your private messagesLog in to check your private messages
UsergroupsUsergroups Log inLog in
Retromud
Unofficial forum for retroMud
RetroMud official Site
RetroEq Database (taz mirror)
Nyen's Retro Pics Page
Tazliel's Monk Info
 

RetroEq on Spheral
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Retromud Forum Index -> The Knowledge Council
View previous topic :: View next topic  
Author Message
tazliel landlord
landlord
Joined: 08 Mar 2004
Posts: 171
Location: Castle Al Adjara, Welstar
PostPosted: Sat Jan 26, 2008 1:42 am    Post subject: RetroEq on Spheral Reply with quote

Since Froggy is planning to stop hosting and maintaining RetroEq, I offered him to host it here.
Some things are not working yet :
- Login : I will integrate RetroEq login with this forum, it will be easy to register here and access both section.
- Plaques : need to get and set up the various scripts that update the plaques.

I am probably missing stuff so feel free to post here for debugging remarks.

If you are skilled in php, I may use your help to improve further the wonderful tool created by Froggy.

As always contact me here or thru Mudmail
_________________
Damn you Kruggurk !!!


Last edited by tazliel on Tue Jan 13, 2009 11:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
tazliel landlord
landlord
Joined: 08 Mar 2004
Posts: 171
Location: Castle Al Adjara, Welstar
PostPosted: Sun Jan 27, 2008 10:25 pm    Post subject: Reply with quote

What should be working :
- Eq search
- Simple Query
- For Sale
- Search NPC
- Races
- Retro Docs Search (updated today 2008/01/2Cool
- Diseases
- Areas
- Level calculator

What is NOT working yet
- Login (will work something to integrate with this forum)
- Players plaque (hmmm)
- Search Skills (hmm hmmm)
_________________
Damn you Kruggurk !!!
Back to top
View user's profile Send private message
tazliel landlord
landlord
Joined: 08 Mar 2004
Posts: 171
Location: Castle Al Adjara, Welstar
PostPosted: Tue Jan 29, 2008 7:58 pm    Post subject: Reply with quote

Login is working (kinda)
just enter your character name and *any* password.
not perfect but until I have the time to do something more complete, it should do.

Players Plaques is working
Need to gather some data before the summary really mean anything.
The GRAPH function is NOT working as of yet.
Not sure it is really needed and have quite an impact on the server. Let me know.


Next hurdle : skills and spells search!
_________________
Damn you Kruggurk !!!
Back to top
View user's profile Send private message
Syndic
Joined: 03 Dec 2006
Posts: 16
PostPosted: Wed Mar 12, 2008 9:26 am    Post subject: Reply with quote

I just noticed... I'm able to update items, but not monsters.

when I try, I get this:

Quote:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'spheral'@'localhost' (using password: NO) in /home/spheral/public_html/retromud/retroeq/updateowner.php on line 13
Unable to connect to database server localhost user : Access denied for user 'spheral'@'localhost' (using password: NO)
Back to top
View user's profile Send private message
xyzzyn
Joined: 16 Dec 2007
Posts: 2
PostPosted: Mon Mar 24, 2008 1:27 pm    Post subject: Reply with quote

Same thing with adding areas.
Code:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'spheral'@'localhost' (using password: NO) in /home/spheral/public_html/retromud/retroeq/updatearea_ex.php on line 40
Unable to connect to database server localhost user : Access denied for user 'spheral'@'localhost' (using password: NO)
Back to top
View user's profile Send private message
tazliel landlord
landlord
Joined: 08 Mar 2004
Posts: 171
Location: Castle Al Adjara, Welstar
PostPosted: Mon Mar 24, 2008 8:29 pm    Post subject: Reply with quote

Adding mobs and area should be working fine now.
_________________
Damn you Kruggurk !!!
Back to top
View user's profile Send private message
tazliel landlord
landlord
Joined: 08 Mar 2004
Posts: 171
Location: Castle Al Adjara, Welstar
PostPosted: Sun Apr 06, 2008 10:45 am    Post subject: Reply with quote

WTB / FS and Personal Eq function are working ok now.
Slightly changed Simple Query to have more (hopefully useful) links and a different look.
_________________
Damn you Kruggurk !!!
Back to top
View user's profile Send private message
tryphiodorus
Joined: 10 Mar 2004
Posts: 3
PostPosted: Sat Apr 26, 2008 1:43 am    Post subject: items with "'" in the description Reply with quote

It looks like creating or updating items with a single quote (') in their description fails; the exact error is below. It appears that the escaping isn't work properly; standard SQL escape for a quote is '' (two single quotes) rather than \'.

Error using query UPDATE items SET item_name='The Rahl of the Celestial Moon Dragon',owner_id=282,item_align='',item_gender='',item_str=0,item_con=0,item_dex=0,
item_agi=0,item_wis=0,item_intel=0,item_per=0,item_cha=0,item_luk=0,item_hpr=14,
item_spr=13,item_epr=6,item_crafted=0,item_indest=0,item_cursed=0,item_light=2,
item_pv=0,item_bulk=NULL,item_popularity=5,item_in_game=1,item_notes='Each Overlord Borgreffin carries a single Rahl. ',item_description='This glowing lump of energy has substance and emits a small bit of light. Representing a portion of the Rahl, or life force energy of one of the Celestial Dragons, it is a manifestation of the Dragon\\'s spirit. Recovered from Cindar and his minions, this Rahl will slow Cindar\\'s attempts to restart the grid and the energy crystals that hover over Wysoom. In addition this Rahl-Pir may have other uses for stopping Cindar. Its recovery also marks a brief respite for the Celestial Dragon from the control of Cindar.',item_updated_by='tryphiodorus',item_updated_date=NOW() WHERE item_id=3943:

(slightly edited query by inserting line breaks).
Back to top
View user's profile Send private message
tryphiodorus
Joined: 10 Mar 2004
Posts: 3
PostPosted: Wed Apr 30, 2008 1:27 am    Post subject: More things that should probably be fixed Reply with quote

Thanks for fixing the ' issue; that was helpful. A couple more things that probably should be looked at:

1) Items names containing " aren't escaped properly on the homepage, the simple view, and the update page. Specifically, you can set the item name to be something like "<script>alert('Test')</script> and said Javascript will execute for everyone who visits (was doing XSS fixes at works, which is why I thought of it).

2) Item deletions don't seem to work; the message I got when trying to remove my test item was

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'spheral'@'localhost' (using password: NO) in /home/spheral/public_html/retromud/retroeq/delete_item.php on line 13
Unable to connect to database server localhost user : Access denied for user 'spheral'@'localhost' (using password: NO)
Back to top
View user's profile Send private message
tazliel landlord
landlord
Joined: 08 Mar 2004
Posts: 171
Location: Castle Al Adjara, Welstar
PostPosted: Tue May 06, 2008 7:27 pm    Post subject: Reply with quote

Item deletion now should work properly.
I added cleaning up of unwanted tags in item name, desc and notes. Should close that nasty security hole.

Thanks Tryph for pointing it out.
_________________
Damn you Kruggurk !!!
Back to top
View user's profile Send private message
Agrona
Joined: 13 Mar 2006
Posts: 3
PostPosted: Fri May 09, 2008 1:48 pm    Post subject: Reply with quote

Hey taz.

I'd love to see the graphs working (you commented you may not want to add them).

Alternatively, is there a way I can get the data in CSV format or something so I can make my own graphs in Excel or whatever?

THanks,

Agrona
Back to top
View user's profile Send private message
tryphiodorus
Joined: 10 Mar 2004
Posts: 3
PostPosted: Fri May 09, 2008 11:55 pm    Post subject: One more minor issue Reply with quote

In the EQ summary box, if there are multiple items which all grant the same ability, it doesn't deduplicate, so you can end up with things like:

Grants: see in dark, see in light, see in ultra dark, see in ultra light, see in dark, see in dark, see in ultra dark, see in dark, see in light, see in ultra dark, see in ultra light, mindsight, see in dark, see in ultra dark, mindsight, see in dark, see in ultra dark, see in dark, see in ultra dark, see in dark, see in light, see in ultra dark, see in ultra light, see in dark

Doesn't prevent you from doing anything, but a bit annoying.
Back to top
View user's profile Send private message
reklaw_3
Joined: 03 Feb 2006
Posts: 1
PostPosted: Sun Aug 31, 2008 10:01 pm    Post subject: Reply with quote

Think we could get a new tab on items that are unique? Something like the alignment or lighting tabs. Maybe a search option to go along with it.
Back to top
View user's profile Send private message
tazliel landlord
landlord
Joined: 08 Mar 2004
Posts: 171
Location: Castle Al Adjara, Welstar
PostPosted: Sat Sep 27, 2008 12:49 am    Post subject: Unique and Threaded Reply with quote

Unique and Threaded fields have been added Smile

Time to update eq.

I will need help to update the race lists with the new remorts

The structure table for races is as follow, feel free to send me a sql file with the proper values

Code:
--
-- Table structure for table `races`
--

CREATE TABLE `races` (
  `race_id` int(11) NOT NULL auto_increment,
  `race_name` varchar(15) NOT NULL default '',
  `race_playable` tinyint(1) default NULL,
  `race_homeworld` enum('Welstar','Sosel','Wysoom','Crypt','Perdow','Raji') default NULL,
  `race_str` tinyint(3) unsigned default '100',
  `race_agi` tinyint(3) unsigned default '100',
  `race_dex` tinyint(3) unsigned default '100',
  `race_con` tinyint(3) unsigned default '100',
  `race_int` tinyint(3) unsigned default '100',
  `race_wis` tinyint(3) unsigned default '100',
  `race_per` tinyint(3) unsigned default '100',
  `race_cha` tinyint(3) unsigned default '100',
  `race_weight` int(10) unsigned default '0',
  `race_size` int(10) unsigned default '0',
  `race_metarace` varchar(15) default NULL,
  `race_max_age` int(10) unsigned default NULL,
  `race_diet` varchar(20) default NULL,
  `race_weapons` tinyint(3) unsigned default NULL,
  `race_armor` tinyint(3) unsigned default NULL,
  `race_exp` tinyint(3) unsigned default NULL,
  `race_skill_max` tinyint(3) unsigned default '0',
  `race_hermetic_max` tinyint(3) unsigned default '0',
  `race_spiritual_max` tinyint(3) unsigned default '0',
  `race_limbs` tinyint(3) unsigned default '0',
  `race_heartbeat` tinyint(3) unsigned default NULL,
  `race_see_light` tinyint(1) default '0',
  `race_see_dark` tinyint(1) default '0',
  `race_see_ultradark` tinyint(1) default '0',
  `race_see_ultralight` tinyint(1) default '0',
  `race_hpr` tinyint(3) unsigned default '0',
  `race_spr` tinyint(3) unsigned default '0',
  `race_epr` tinyint(3) unsigned default '0',
  `race_description` tinytext,
  `race_stun_resistance` tinyint(4) default '0',
  `race_total_slots` tinyint(4) NOT NULL default '0',
  `race_total_resists` int(11) NOT NULL default '0',
  PRIMARY KEY  (`race_id`),
  KEY `race_name` (`race_name`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=84 ;

_________________
Damn you Kruggurk !!!
Back to top
View user's profile Send private message
jjustice
Joined: 24 Mar 2008
Posts: 4
Location: Fort Lauderdale, FL, USA
PostPosted: Sat Oct 04, 2008 7:13 pm    Post subject: Reply with quote

The issue with single quotes for items that tryphiodorus mentioned in Apr 2008 is also occurring for monsters in both the monster name and monster description fields.

See for instance the entries I just added for "Bua hai" (monsters.monster_id='1603') and "a stealthy arekla" (monsters.monster_id='1605') -- Bua hai should have an apostrophe in between the two words, and the desc for the arekla should say "raccoon's", not "raccoon`s" (e.g. not backquote).

-- Joseph
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Retromud Forum Index -> The Knowledge Council All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group