I enjoy tinkering with the tools the eqemu community uses and produces.
The peq editor has been a favorite of mine for some time since I sometimes forget to double check sql syntax and then I end up borking entire tables. Just ask Natedog he was on vent with me the other day when I had to drop altadv_vars because I changed in range using <= and <= ... silly me. GUI interfaces help reduce the mistakes I make :) I would have posted this on the PEQ boards but for some reason I just never made a forum account there, no idea why because I monitor the forums for all gold/green and high pop white server looking for reasons to tinker with things. I can't think of anything else the editor could use that would not step on other tools that are already well made or bloat it in size but I'll continue poking it with a spork and post .patch files for stuff to be considered. |
Figured I would attempt to break guilds tab.
Had to tweak it a little to fit the new button and I think its kind of ugly but not sure if its really something useful so making it pretty can come later. http://img580.imageshack.us/img580/1390/l3jx.png Grabs the next ID for you, just need to input the guild name and the name of the character that is to be the leader. Not sure if guild names can contain characters that require escaping for sql so did not attempt to check for that in the query. So "Dan's party guild" would probably fail to insert. Code:
Index: css/peq.css |
Issues inside editor
I have the editor running and connecting to my database. I can actually make changes. But I get tons of errors on the opening page and when creating new items. (This is so far that I am aware of)
I am using the latest install of XAMPP 1.8.2.1 The first is: Notice: Use of undefined constant c71 - assumed 'c71' in C:\xampp\htdocs\peq\lib\data.php on line 2601 *This error above is actually the last in 100 plus errors that are before the actual interface. I began manually formatting all entries in data.php that have a letter before the number with single quotes ('c71'). This seemed to fix this issue. But I am not sure what impact this has. The second is: Notice: Undefined variable: *This occurs when creating a new item. Almost all selectable boxes begin with this error. I also noticed when I create NPCs that very few are available and pull up only the human model even when say Bristlebane is selected. I am not a programer, but I enjoy EQ and my step son and I love playing on our own home server. I am attempting to make it more fun for him by slightly customizing our server. Volkmeer |
Quote:
Not sure off the top of my head why you are seeing the error. I'll check this again later today when I have more time, though probably a more knowledgeable person will have responded by then, or at least I hope so. |
Thanks for reply. I really want to get this working. My data.php from the current download has 2606 lines total.
By adding the single quotes i have fixed a number of issues. But I get undefined variables in the interface: Notice: Undefined variable: table_string in C:\xampp\htdocs\peq\lib\npc.php on line 2035 Notice: Undefined variable: update_string in C:\xampp\htdocs\peq\lib\npc.php on line 2047 and Notice: Undefined variable: version in C:\xampp\htdocs\peq\lib\headbars.php on line 347 Notice: Undefined variable: version in C:\xampp\htdocs\peq\lib\headbars.php on line 352 and (Item Creation seems really broken as all fields have the variable error) Notice: Undefined variable: filename in C:\xampp\htdocs\peq\templates\items\items.add.tmpl .php on line 51 Notice: Undefined variable: filename in C:\xampp\htdocs\peq\templates\items\items.add.tmpl .php on line 54 It looks like the 'php' code is calling a field in the database and associating it with a variable. But, what happens is it is not keeping that association when it runs a greater or less than query against it. Hope that makes sense. It looks like if 1=apple, then apple=grape, grape > 3 goto 'tree', if grape < 3 goto bush. But grape doesnt seem to '=' 1 anymore. Anyway somethings do work still. If you have a different version of the tool I would definitely try it! If you tell me how i could upload the tool contents I have I would do that as well. Volkmeer |
This problem was handled by Joligario farther up in this thread:
Quote:
Also, none of your line numbers line up with the current release, so grab the editor from here (updated daily): http://www.peqtgc.com/releases/ |
Ok I made the php.ini change and i downloaded the new editor. I actually get more variable errors now.
|
Notices are not errors. Think of them as just warnings.
Since you are using 1.8.2, that has newer PHP. I recommend using this to turn off all the strict/warnings. Code:
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED & ~E_WARNING |
Report back if joligario's suggestion does not work out. As I said earlier there are a bunch of people that will assist in figuring it out with you.
|
Made the above changes but still get the variable error. Seems everything is working just errors everywhere.
|
Not descriptive enough for anyone to help you.
|
Can you print screen, crop it and post that so we can see what is going on.
|
I noticed there were few missing spell effects in the Spell editor when I grabbed the newest PEQ editor from the daily dump.
I decided to update the ones that were OLD "unknowns" that are now known to the correct effect name and added all the ones that were missing. Placed "NI" at the from the effect if it wasn't implement as of 10 /3 /2013 Code:
--- "lib\spellenums.php" |
Found a few missing fields for item edit / add.
Allow for augtype up to 20 http://i.imgur.com/vLo0ITP.png Code:
--- "templates\iframes\js.tmpl.php" Code:
--- "templates\items\items.add.tmpl.php" Code:
--- "templates\items\items.edit.tmpl.php" Code:
--- "lib\items.php" Thank you for this wonderful tool :) Created a random item with it :) http://i.imgur.com/0jUFW01.png |
Thank you for the contribution. I'll get this in tonight.
|
All times are GMT -4. The time now is 01:55 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.