×

Langue

Fermer
Atelier 801
  • Forums
  • Dev Tracker
  • Connexion
    • English Français
      Português do Brasil Español
      Türkçe Polski
      Magyar Română
      العربية Skandinavisk
      Nederlands Deutsch
      Bahasa Indonesia Русский
      中文 Filipino
      Lietuvių kalba 日本語
      Suomi עברית
      Italiano Česky
      Hrvatski Slovensky
      Български Latviešu
      Estonian
  • Langue
  • Forums
  • /
  • Transformice
  • /
  • Éditeur de cartes
  • /
  • Map Listener
Map Listener
Barberserk
« Consul »
1504394160000
    • Barberserk#0000
    • Profil
    • Derniers messages
    • Tribu
#1
  1
  • Home
  • Example

Map Listener
By Bolodefchoco, aided by Jotatavo and posted by Barberserk
Script ~ https://github.com/Lautenschlager-id/Transformice/blob/master/Others/Map%20Listener.lua



If you are not good creating BBCODE or you are looking for a different layout for you to use in your map gallery, you found the right place!

The script can be manipulated easily, made to list maps and generate it with a new bbcode layout for galleries and profiles.

It has several options, they are:
• Displays the total maps, highperms total maps and a total of maps from each category in your lsmap. [1]
-: If you click in one of the categories, there will be the maps of this category displayed in #lua. [2]
• Generation of the map lists in BBCODE to share on forums.
-: There are two options: ASCII and BYTE.
-:-: ASCII : The text itself displayed in #lua, but often splited in several pieces (due to its size), so, using CTRL + A to copy all the text may be a bit hard since you will need to remove the tribe's name and the break line everytime, otherwise the BBCODE will fail. Example: • # [*Editeur].
-:-: BYTE : Transforms the text in byte numbers splited by ".". The problem mentioned above is avoided since you'll need to use a second script out of Transformice to transform those bytes in BBCODE.


For BYTE, open the Spoiler

Steps to transform the bytes in BBCODE

1. Acess http://rextester.com/l/lua_online_compiler
2. Acess https://pastebin.com/raw/ba7YDbr7, copy the code and paste it in the white space in the Rextester website.
3. Close your #lua
4. Click in Create BBCode "BYTE", go in #lua and press CTRL + A
5. Paste in "Insert the data here", in the third line of the Rexstester's script, and click in "Run it (F8)" [1]
6. Copy all the text. This is your BBCode! (: [2]

Ref:Img1

https://image.prntscr.com/image/E8Qu-AS9RxKnpVBvd1pqzg.png

Ref:Img2

https://image.prntscr.com/image/7T5MiMZeS_mqudkbk-fM7g.png



For the BBCODE format, there are some options [3]. They are:
• ✓ "Display Icons", i.e., displays the category icon. [http://i.imgur.com/dnuppaW.pnghttp://i.imgur.com/W2DuMvz.png]
• ✓ "Display Category", i.e., displays the category name, as "Protected", "Shaman"
• ✓ "Display Amount", i.e., displays the amount of maps in the category
• "Insert Map Image", i.e., displays the map images in a spoiler (Uses Micetigri, so the images might be outdated. You can generate an updated image of the map whispering the bot Mapdrawbot the command "ipic @Code")
-: ✓ "Only in High Perms", if you want the images only in high perm categories (P3+).
-: "Add Description", if you want a description, name, story or anything as text in each map spoiler, above the image
• ✓ "List All Categories", i.e., lists all the categories of the lsmap. If you disable this option [4], you will be able to choose the categories you want to be listed. (Initial: P1, 3, 4, 5, 6, 7, 8, 9, 10, 13, 17, 87)
-: "Link Test Categories", i.e., if you have some maps in a high perm test category, the map codes will be added in the high perm list instead of the map test category spoiler. Example: P32 => P8.
• "Create High Perm List", i.e., creates a list with all the high perms and its respectives categories. (The image and description insertion has not effects in this spoiler)
• "Create Maps In Test List", creates a list with all the maps in tests for high perm and its respectives categories (current and possible future). (The image and description insertion has not effects in this spoiler)
• "Language" : Click in the text to change the language of the categories . Some category have no translation. There will be the EN, ES, BR, FR options.

The interface will appear to the owner of the inserted LSMAP.

BETA Script, can be buggy. If you find glitches, use this topic to report.


Ref:Img1

https://image.prntscr.com/image/jUn1MxDZTO_GdeBld45PXA.pnghttps://image.prntscr.com/image/vXCKaqzERg2bxTQ88BQbKg.png


Ref:Img2

https://image.prntscr.com/image/54ixDJg-RIi6EnQLDxheZw.png

Ref:Img3

https://image.prntscr.com/image/Fj3loll6QJCcbGOKyPcf2Q.png

Ref:Img4

https://image.prntscr.com/image/Q1SJzpg8SqSlIHmJcxR6MA.png
001 http://i.imgur.com/dnuppaW.png Protected
@2414326

001 http://i.imgur.com/W2DuMvz.png Shaman
@2005563

002 http://i.imgur.com/EyQAQ10.png Mechanism
@2143712
@2579592

003 http://i.imgur.com/DoACCNh.png Dual Shaman
@1929779
@2001846
@2671768

010 http://i.imgur.com/Lxvjj1M.png Tribe House
@1930027
@1975543
@1995971
@1995980
@1996422
@2001661
@2002983
@2011897
@2331619
@3188516

003 http://i.imgur.com/GmbpOc6.png Module
@2283901
@2310427
@2310447

Dernière modification le 1504394220000
Boucharma
« Censeur »
1504401960000
    • Boucharma#0000
    • Profil
    • Derniers messages
#2
  0
Thanks! ^-^
Cyanny
« Citoyen »
1504403760000
    • Cyanny#0000
    • Profil
    • Derniers messages
    • Tribu
#3
  0
This is amazing. Good job, all! :)
Vintage
« Consul »
1504425480000
    • Vintage#0246
    • Profil
    • Derniers messages
    • Tribu
#4
  0
Ooh, very interesting. Thanks! :D
Kimsterjay
« Consul »
1505463600000
    • Kimsterjay#0000
    • Profil
    • Derniers messages
    • Tribu
#5
  0
Nice job Bolo and Jota
Syrius
« Consul »
1512146040000
    • Syrius#8114
    • Profil
    • Derniers messages
    • Tribu
#6
  0
What's P87? I can't access it with LUA.
Censere
« Consul »
1512174660000
    • Censere#0095
    • Profil
    • Derniers messages
    • Tribu
#7
  3
Marciskris a dit :
What's P87? I can't access it with LUA.

Vanilla user-made maps or Vanilla maps with XML such as @92, @99 etc.
Bhvana
« Censeur »
1591489500000
    • Bhvana#0543
    • Profil
    • Derniers messages
    • Tribu
#8
  0
Censere a dit :
Marciskris a dit :
What's P87? I can't access it with LUA.

Vanilla user-made maps or Vanilla maps with XML such as @92, @99 etc.

Thought it was P102!
Ayumai
« Censeur »
1591491900000
    • Ayumai#4877
    • Profil
    • Derniers messages
#9
  0
not. working.
Bolodefchoco
« Sénateur »
1591546200000
    • Bolodefchoco#0095
    • Profil
    • Derniers messages
    • Tribu
#10
  0
Ayumai a dit :
not. working.

please describe what is not working.
Bhvana
« Censeur »
1594250040000
    • Bhvana#0543
    • Profil
    • Derniers messages
    • Tribu
#11
  0
Bolodefchoco a dit :
Ayumai a dit :
not. working.

please describe what is not working.

the images is one of them
the module itself is the second

Dernière modification le 1594250100000
  • Forums
  • /
  • Transformice
  • /
  • Éditeur de cartes
  • /
  • Map Listener
© Atelier801 2018

Equipe Conditions Générales d'Utilisation Politique de Confidentialité Contact

Version 1.27