Zone Cloning / Door cloning to new versions!
My Firefox doesn't seem to want to load the EoC zone tools so I decided to write one myself and share with anyone that wanted to use it.
Here is what a cloned zone would look like in George's NPC editor it adds the version to the "new" NPCS. http://i.imgur.com/POatKBZ.png The doors that are cloned KEEP the same DOORID so any script you may use to open doors by DOORID in certain zones will work across all the versions! Here is what that looks like... http://img18.imageshack.us/img18/2200/ra9l.png The script allows you to choose CLONE NPCS OR DOORS... or BOTH! Cloning NPCS also places them in newly cloned spawngroups and correct spawn2 locations as well. Here is my VERSION 1 of Gukbottom.. you can see the level 74 Ghoul Executioner and that the doors are correctly in place! http://img69.imageshack.us/img69/7568/uler.png Lastly the script prints out a BACKUP.TXT file! Inside this file it has a 100% reversal of that zone version you made. http://i.imgur.com/7c4tgcL.png Very simple to use if you have perl DBI ! 1. Edit the database information inside the script 2. Edit the zone / version you want to copy from and what version to copy TO! 3. MIN NPC -- lowest ID it will copy from I have this at 1000 because I don't like it copying my "CUSTOM" npcs where their NPCID must remain low. Like my NPC that handles Weapon graphics. 4. COPYDOORS / COPYNPCS -- put both to 0 and script does nothing.. turn either to 1 and it copies JUST THAT! example... Copydoors 1 and COPYNPCS 0 would only copy doors and ignore all NPC DATA. So you could copy a zones doors and just make your own custom NPCS for a new version! I hope that is enough explanation, but if you have questions or concerns just PM me or reply here and I will help ya when I can :) Here is the script! HOW TO RUN A PERL SCRIPT FROM CMD PROMPT! Open command prompt ... and change directory to where the file is located.. Code:
cd c:\directorytogoto perl FILENAME.pl AND BAM you are done! Code:
use Getopt::Std; |
Doing this is duplication of work unecessarily that already works 100%.
All you had to do is reply to the original post that was made when you first made the claim. My Firefox works just fine, I test on Chrome and Firefox (IE Can go die in a fire) - if yours doesn't work than you either need to update or stop blocking javascript because EoC uses it for performance and simplicity of the interface. Posted pictures below to prove I had tested this for you. If you wanted to make one yourself just for the sake of doing it then that is your call. I've already gone through the pain of making sure that the schematic imports go smoothly given certain scenarios exist that you may not have been anticipating originally. I may come off like a dick - probably because I am and I'm tired as shit from moving, but either way here is the details: EOC Does the following:
http://i.imgur.com/6MPdHA9.jpg http://i.imgur.com/I5rw6GQ.jpg http://i.imgur.com/72mCfPL.jpg Here's the database calls that copy all of the schemas: (AJAX) The below code does not consider injection because there is no database to inject but your own. Code:
if($_GET['ZoneID'] && $_GET['ImportSelector'] == 1){ |
With nothing blocked this is all it does for me on Firefox.
I'd suggest people use EoC for sure.. but I refuse to use a different browser because I am stubborn. :) http://img5.imageshack.us/img5/8885/deb0.png |
Natedog, before you perform this request on the dropdown. Can you please do a 'Inspect Element' on your Firefox and tell me what its going on in the console.
I understand loyalty to a browser, I used to use FF. You should see a GET request to the below url. If you have a Javascript which is what I suspect you have, you can also see this in the console. http://i.imgur.com/KM982NL.jpg |
|
That can be ignored, I need to know what happens when you trigger a dropdown selection.
|
Clicked dropdown and this is what it shows in console (had console open when i clicked it)
http://img203.imageshack.us/img203/5040/ykpl.png |
Does it at all show anywhere what line it bombed on? Or what it did with that?
eoccustom.js is where the ajax calls are defined. |
|
It is hard for me to suggest something more because I don't have access to your browser, but it seems you are using a plugin that might be messing up AJAX requests.
Do other tools in the EoC hang like this? Task Editor? NPC Editor? Item Editor? EDIT: Also can you manually visit this page? http://eoc.akkadius.com/AllaClone/eo...=11&Selector=1 This is a typical request. EDIT2: Do you have heightened security settings set to not trust certain types of scripts? This can happen with FF. |
I had the site completely whitelisted on everything except 1 thing... Adblock
Whitelisted the site to show ads.. and it works now :p |
Quote:
BTW, if you set a doors version to -1, it will load in all instances. I've done this to my whole doors table that isn't already in a version above 0. This was implemented over a year ago. I wish we had better documentation medium. Also, nice job on the Perl script - I apologize for the crabass I've been. Moving sucks. |
Ah didn't know that about doors... but my 2ndary versions will have the exits blocked by random objects which I do not want to appear in the normal zone.
I guess I can set the normal doors to -1 though that will save some time for sure :p |
Quote:
You could have the same door id used in versions 1, 2, or 3 you just can't have more than one of the same id load or you will have issues. Keeps from having to duplicate thousands of doors for no reason |
Wait so did he have adblock turned on and it was blocking the javascript?
|
All times are GMT -4. The time now is 03:59 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.