DOC_tr

FluxCP addon. Maps and monster spawns

Recommended Posts

2015_07_29_18_31_39.png

 

MonstersSpawn add informations to mobs (their location) and maps with list of the monsters are on the map. Most map image are in the folder /data/maps/ but not all.

 

Install:

 

GitHub - https://github.com/FaustVlll/monster_spawn

Folder maps_spawn move to addons (addons/maps_spawn)

Folder data (map images) must be combine with you data

 

Then create tables with mobs and maps (http://your.site/?module=admin_spawn) and upload file *Athena/db/(re|pre-re)/map_cache.dat to filling the database.

All your scripts with mobs (*Athena/npc/re/mobs) you must create zip archive, and upload too.

 

You must have tables item_db, item_db2, mob_db and mob_db2 to Pre-Renewal or item_db_re, item_db2_re, mob_db_re and mob_db2_re to Renewal

 

Script tested on last FluxCP(29.07.2015), rAthena 17726, and Linux   /gawi

 

Sorry for my English  /ok

 

And finally, some of screenshots

 

 

2015_07_29_18_31_15.png

 

 

2015_07_29_18_31_53.png

 

UPD

Add monster respawn Area (if exist)

Map file change from map_index.txt to map_cache.dat

 

994c1438263400.png

Edited by DOC_tr
  • Upvote 5

Share this post


Link to post
Share on other sites

Awesome release buddy :)


I added it to my site and made it mobile responsive :)

 

post-276-0-23336200-1438194434_thumb.png

post-276-0-69385100-1438194437_thumb.png

post-276-0-84989500-1438194438_thumb.png

  • Upvote 1

Share this post


Link to post
Share on other sites

Repository update.

  • remove select Pre/Renewal (its get from config CP)
  • many small fixes  /no1
  • Upvote 1

Share this post


Link to post
Share on other sites

New version.

  • Add all warps
  • Add NPCs
  • Add shops

All your scripts (*Athena/npc) you must create zip archive, and upload to admin.

 

ba951440147175.png

87631440147175.png

79251440147175.png

 

Example - http://test.phpbl.ru/?module=map

/me cries tears of joy. You made my life so much easier <3

  • Upvote 1

Share this post


Link to post
Share on other sites

Wow, thanks for this, but how come I'm uploading a zip file for the npc but it's not working at all. After I press submit file and it uploads nothing happens. No msg at all appears if it's successful or any error after uploading the archive.

  • Upvote 1

Share this post


Link to post
Share on other sites

This piece of work is awesome. Makes the CP more of a wiki!

Wouldn't this be able to become a 'default' FluxCP addon for both rA & Herc's version of FluxCP?

Optional to enable/use it, but certainly easier to maintain this way?

Share this post


Link to post
Share on other sites

I just want to say

AWESOME!!!!!


Wow, thanks for this, but how come I'm uploading a zip file for the npc but it's not working at all. After I press submit file and it uploads nothing happens. No msg at all appears if it's successful or any error after uploading the archive.

 

 

According to my experience, you may check your php.ini

upload_max_filesize = 64M
post_max_size = 64M
make sure these two items are both larger than the file you uploaded, if you cannot find the second item, add it below upload_max_filesize.
If you are using max
 
BTW, for some reason, the getFiles function in modules/admin_spawn/parse.php is not working for my npc scripts.
I have to change $item to 
trim($item)

to make sure the files are correctly loaded.

 

This is really an amazing feature, many thanks to DOC_tr for sharing this.

Edited by thor1009

Share this post


Link to post
Share on other sites

anyone encountered this error on shop npc? i get this error after click the show button

"error with loading items"

Edited by Vy Low

Share this post


Link to post
Share on other sites

Wow, thanks for this, but how come I'm uploading a zip file for the npc but it's not working at all. After I press submit file and it uploads nothing happens. No msg at all appears if it's successful or any error after uploading the archive.

Did you find any solution?

 

I am getting the exactly same error.

 

When I upload maps_cache.dat file, all maps are inserted into the table but when I try to import my npc.zip folder, nothing happens. No error messages.

Edited by feliper12
  • Upvote 1

Share this post


Link to post
Share on other sites

in the addon, did you guys check to see if the theme folder in the addon is name the same as your theme.

  • Upvote 1

Share this post


Link to post
Share on other sites

 

Wow, thanks for this, but how come I'm uploading a zip file for the npc but it's not working at all. After I press submit file and it uploads nothing happens. No msg at all appears if it's successful or any error after uploading the archive.

Did you find any solution?

 

I am getting the exactly same error.

 

When I upload maps_cache.dat file, all maps are inserted into the table but when I try to import my npc.zip folder, nothing happens. No error messages.

 

219t3wi.png

 

I've been facing the same problem, but instead of getting no error messages I get "Successfull load 2 files", but no npc can be found in the database. Only maps are available...  

Edited by arpora

Share this post


Link to post
Share on other sites

I can not load mobs and npcs, maps load without any problem, but when i try to load mobs and npc uploading the zip, error appear "action denied, contact to adminitrator".

Inside the root folder, the zip of mob or npc that you try to upload start to unzip and when it finish then the error appear.

Share this post


Link to post
Share on other sites

 

 

 

Wow, thanks for this, but how come I'm uploading a zip file for the npc but it's not working at all. After I press submit file and it uploads nothing happens. No msg at all appears if it's successful or any error after uploading the archive.

Did you find any solution?

 

I am getting the exactly same error.

 

When I upload maps_cache.dat file, all maps are inserted into the table but when I try to import my npc.zip folder, nothing happens. No error messages.

 

219t3wi.png

 

I've been facing the same problem, but instead of getting no error messages I get "Successfull load 2 files", but no npc can be found in the database. Only maps are available...  

 

 

I have same problem .. Someone managed to solve ? = /

Share this post


Link to post
Share on other sites

in the addon, did you guys check to see if the theme folder in the addon is name the same as your theme.

Make sure your using the default theme ...... worked for me

Share this post


Link to post
Share on other sites

 

in the addon, did you guys check to see if the theme folder in the addon is name the same as your theme.

Make sure your using the default theme ...... worked for me

 

 
Fluxcp which version are you using? Xantara ?

Can you pass the fluxcp the link you are using ?

Edited by badarosko1

Share this post


Link to post
Share on other sites

 

 

in the addon, did you guys check to see if the theme folder in the addon is name the same as your theme.

Make sure your using the default theme ...... worked for me

 

 
Fluxcp which version are you using? Xantara ?

Can you pass the fluxcp the link you are using ?

 

 

 

Check it here : CLICK ME

Share this post


Link to post
Share on other sites

So i found this addon LINK which is a very nice addon after some test and i dont want to mess up my flux so i just wanna ask in what directory should i upload my "npc scripts?"

 

-- Edit --

Map db is working fine.

Share this post


Link to post
Share on other sites

sorry for replying on old post but this post may help someone.

 

Elijah23, on 08 Sept 2015 - 2:42 PM, said:snapback.png

Wow, thanks for this, but how come I'm uploading a zip file for the npc but it's not working at all. After I press submit file and it uploads nothing happens. No msg at all appears if it's successful or any error after uploading the archive.

 

 

feliper12, on 23 Nov 2015 - 05:15 AM, said:snapback.png

Did you find any solution?

 

I am getting the exactly same error.

 

When I upload maps_cache.dat file, all maps are inserted into the table but when I try to import my npc.zip folder, nothing happens. No error messages.

 

 

 

arpora, on 29 Dec 2015 - 09:48 AM, said:snapback.png

 

feliper12, on 23 Nov 2015 - 05:15 AM, said:snapback.png

 

I've been facing the same problem, but instead of getting no error messages I get "Successfull load 2 files", but no npc can be found in the database. Only maps are available...  

 

 

 

Badarosk0, on 17 Mar 2016 - 12:10 PM, said:snapback.png

I have same problem .. Someone managed to solve ? = /

 

 

 

Actually this is javascript error that make the script stop working. but, actually there is no error on javascript coding. the error come from your archived npc folder. the way you can identify the error:;  if you using google chrome and inspect it to view the javascript error. (you will get 'Unexpected token ILLEGAL' error) that's mean it come form illegal text character which extracted from archived npc.

 

for me, the illegal character come from "npc/scripts_custom.conf". if you inspect(google chrome) the script after submitting your archived npc, you can see each file listed at scripts_custom.conf will have new line.

post-39268-0-24656100-1463630130_thumb.jpg

 

copy everything inside scripts_custom.conf to new notepad and overwrite it with Unicode encoding. Archive your npc again and upload. done There are no specific fix for this error. seems this will happen when i edit any *.conf files with notepad and wordpad. when i edit *.conf with notepad++ i wont get this error. **edit: i never get this error on linux platform.

 

*** on latest fluxcp, this addon already included. no need to copy addons folder to your website.

Edited by myg_evol

Share this post


Link to post
Share on other sites

anybody can make this works? Tried so many times and method but still nothing.. Only maps appear..

Share this post


Link to post
Share on other sites

 

sorry for replying on old post but this post may help someone.

 

Elijah23, on 08 Sept 2015 - 2:42 PM, said:snapback.png

Wow, thanks for this, but how come I'm uploading a zip file for the npc but it's not working at all. After I press submit file and it uploads nothing happens. No msg at all appears if it's successful or any error after uploading the archive.

 

 

feliper12, on 23 Nov 2015 - 05:15 AM, said:snapback.png

Did you find any solution?

 

I am getting the exactly same error.

 

When I upload maps_cache.dat file, all maps are inserted into the table but when I try to import my npc.zip folder, nothing happens. No error messages.

 

 

 

arpora, on 29 Dec 2015 - 09:48 AM, said:snapback.png

 

feliper12, on 23 Nov 2015 - 05:15 AM, said:snapback.png

 

I've been facing the same problem, but instead of getting no error messages I get "Successfull load 2 files", but no npc can be found in the database. Only maps are available...  

 

 

 

Badarosk0, on 17 Mar 2016 - 12:10 PM, said:snapback.png

I have same problem .. Someone managed to solve ? = /

 

 

 

Actually this is javascript error that make the script stop working. but, actually there is no error on javascript coding. the error come from your archived npc folder. the way you can identify the error:;  if you using google chrome and inspect it to view the javascript error. (you will get 'Unexpected token ILLEGAL' error) that's mean it come form illegal text character which extracted from archived npc.

 

for me, the illegal character come from "npc/scripts_custom.conf". if you inspect(google chrome) the script after submitting your archived npc, you can see each file listed at scripts_custom.conf will have new line.

attachicon.gif12.jpg

 

copy everything inside scripts_custom.conf to new notepad and overwrite it with Unicode encoding. Archive your npc again and upload. done There are no specific fix for this error. seems this will happen when i edit any *.conf files with notepad and wordpad. when i edit *.conf with notepad++ i wont get this error. **edit: i never get this error on linux platform.

 

*** on latest fluxcp, this addon already included. no need to copy addons folder to your website.

 

 

 

Did not work. I downloaded the virgin rAthena emulator, unedited and carried, the error appears: [During the boot file error occurred].

Could you please provide the sql tables rAthena RE? It helps a lot. Really I do not know how to solve this my problem.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...