Jump to content

FluxCP addon. Maps and monster spawns


DOC_tr

Recommended Posts


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   16
  • Joined:  07/28/15
  • Last Seen:  

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 6
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   16
  • Joined:  07/28/15
  • Last Seen:  

Repository update.

  • remove select Pre/Renewal (its get from config CP)
  • many small fixes  /no1
  • Upvote 1
Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   16
  • Joined:  07/28/15
  • Last Seen:  

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

  • Upvote 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  317
  • Reputation:   63
  • Joined:  11/13/11
  • Last Seen:  

You're awesome! I could definitely use these.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   16
  • Joined:  07/28/15
  • Last Seen:  

Last version.

  • Refactoring code
  • Add "BUYABLE AT"

Example: 

Npc List - http://test.phpbl.ru/?module=npcs

Npc View - http://test.phpbl.ru/?module=npcs&action=view&id=1231

Arrow buyable al - http://test.phpbl.ru/?module=item_new&action=view&id=1750

 

9b131440420061.png

a3d11440420062.png

4d541440420062.png

 

Thx for view ;)

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  292
  • Reputation:   17
  • Joined:  12/12/11
  • Last Seen:  

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
Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  118
  • Reputation:   17
  • Joined:  01/29/15
  • Last Seen:  

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?

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   1
  • Joined:  06/11/15
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  298
  • Reputation:   47
  • Joined:  03/30/13
  • Last Seen:  

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

"error with loading items"

Edited by Vy Low
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  197
  • Reputation:   13
  • Joined:  05/14/12
  • Last Seen:  

Awesome Release +10  /no1   /kis

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   1
  • Joined:  11/16/15
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  146
  • Reputation:   11
  • Joined:  11/20/11
  • Last Seen:  

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
Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  3
  • Reputation:   1
  • Joined:  09/06/13
  • Last Seen:  

 

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
Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

 Awesome release +10 /no1

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  71
  • Reputation:   3
  • Joined:  12/31/11
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  81
  • Reputation:   5
  • Joined:  02/07/12
  • Last Seen:  

 

 

 

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 ? = /
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  25
  • Reputation:   1
  • Joined:  10/02/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  81
  • Reputation:   5
  • Joined:  02/07/12
  • Last Seen:  

 

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  29
  • Reputation:   7
  • Joined:  05/12/12
  • Last Seen:  

 

 

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

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  05/18/16
  • Last Seen:  

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
Link to comment
Share on other sites

  • 3 months later...

  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.04
  • Content Count:  459
  • Reputation:   6
  • Joined:  06/29/12
  • Last Seen:  

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

Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  81
  • Reputation:   5
  • Joined:  02/07/12
  • Last Seen:  

 

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.

Link to comment
Share on other sites

×
×
  • Create New...