Available boost plugin

Unpaid Requests, Public Plugins
czirimbolo
Veteran Member
Veteran Member
Poland
Posts: 598
Joined: 7 years ago
Contact:

boost plugin

#1

Post by czirimbolo » 5 years ago

Hey,
I need boost plugin which is connected with gametracker.rs. As you know, you can boost your server there with mobile SMS code.

I would like to have a plugin with a /claim command, where after typing this command I can write a code from SMS. Player who type the code, will get 500 XP, VIP flags for a week and 1000 coins. Can someone help me?
Image

User avatar
sPe3doN
Senior Member
Senior Member
Algeria
Posts: 258
Joined: 7 years ago
Contact:

#2

Post by sPe3doN » 5 years ago

you want made it like PG srw right ?
PG srw boost not connected with gt.rs they made own Boost system
Last edited by sPe3doN 5 years ago, edited 1 time in total.
Image

User avatar
Mark
VIP
VIP
United States of America
Posts: 283
Joined: 5 years ago
Location: Des Moines/USA
Contact:

#3

Post by Mark » 5 years ago

This prob would be a private paid plugin i don't think it will be easy todo. I know of this one https://forum.kgb-hosting.com/showthread.php?t=82861

User avatar
Night Fury
Mod Developer
Mod Developer
Posts: 677
Joined: 7 years ago
Contact:

#4

Post by Night Fury » 5 years ago

I made a boost menu (static menu) &i always keep it up-to-date.
Al information from GTRS is in my menu.
Just if there is anyway i can connect to GTRS's boost list database, i will make a dynamic one.

What is the second thing you want?
Want your own mod edition? PM me.
Accepting private projects.
Discord: Fury#7469
Image

User avatar
Mark
VIP
VIP
United States of America
Posts: 283
Joined: 5 years ago
Location: Des Moines/USA
Contact:

#5

Post by Mark » 5 years ago

Jack GamePlay wrote: 5 years ago I made a boost menu (static menu) &i always keep it up-to-date.
Al information from GTRS is in my menu.
Just if there is anyway i can connect to GTRS's boost list database, i will make a dynamic one.

What is the second thing you want?
Are you selling this or is it free?

User avatar
Night Fury
Mod Developer
Mod Developer
Posts: 677
Joined: 7 years ago
Contact:

#6

Post by Night Fury » 5 years ago

Of course free.
Want your own mod edition? PM me.
Accepting private projects.
Discord: Fury#7469
Image

User avatar
Mark
VIP
VIP
United States of America
Posts: 283
Joined: 5 years ago
Location: Des Moines/USA
Contact:

#7

Post by Mark » 5 years ago

Jack GamePlay wrote: 5 years ago Of course free.
Did you make it on this site if so where lol

User avatar
Night Fury
Mod Developer
Mod Developer
Posts: 677
Joined: 7 years ago
Contact:

#8

Post by Night Fury » 5 years ago

Mark wrote: 5 years ago
Did you make it on this site if so where lol
I give it for who asks for it.
I just did not share it here because it has nothing related to zombie escape.
Want your own mod edition? PM me.
Accepting private projects.
Discord: Fury#7469
Image

User avatar
Mark
VIP
VIP
United States of America
Posts: 283
Joined: 5 years ago
Location: Des Moines/USA
Contact:

#9

Post by Mark » 5 years ago

Jack GamePlay wrote: 5 years ago
Mark wrote: 5 years ago
Did you make it on this site if so where lol
I give it for who asks for it.
I just did not share it here because it has nothing related to zombie escape.
ok give me lol

czirimbolo
Veteran Member
Veteran Member
Poland
Posts: 598
Joined: 7 years ago
Contact:

#10

Post by czirimbolo » 5 years ago

Can you send me this plugin Jack?
Image

User avatar
Night Fury
Mod Developer
Mod Developer
Posts: 677
Joined: 7 years ago
Contact:

#11

Post by Night Fury » 5 years ago

czirimbolo wrote: 5 years ago Can you send me this plugin Jack?
Mark wrote: 5 years ago ok give me lol
  1. #include <amxmodx>
  2. #include <fakemeta>
  3.  
  4. #define MENU_PAGE_ITEM g_iMenuData[id]
  5. new g_iMenuData[33]
  6.  
  7. const OFFSET_CSMENUCODE = 205
  8.  
  9. new g_pCvarMessageInterval, g_pCvarCustomPrefix
  10.  
  11. new const szMenuCommands[][] =
  12. {
  13.     "/htbs", "/htbs", "/boost", "/boost", "/howtoboost", "/howtoboost", "/htb", "/htb", "htbs", "htbs", "bostati", "/bostati",
  14.     "boost", "boost", "howtoboost", "howtoboost", "htb", "htb", "/ComoImpulsar", "/ComoImpulsar", "ComoImpulsar",
  15.     "ComoImpulsar", "/Boostkesekarnahai", "/Boostkesekarnahai", "Boostkesekarnahai", "Boostkesekarnahai", "/boostez", "/boostez",
  16.     "boostez", "boostez", "/KakoBostati", "KakoBostati", "/KakoBostati", "KakoBostati", "/bostati", "bostati"
  17. }
  18.  
  19. new const szCountries[][] =
  20. {
  21.     "Serbia", "Croatia", "Bosnia and Herzegovina", "Macedonia", "Montenegro", "Bulgaria", "Czech Republic", "Estonia",
  22.     "Romania", "Kosovo", "Albania", "Austria", "France", "Germany", "Switzerland", "Pakistan", "Poland", "Russia", "Slovenia", "Sweden",
  23.     "Argentina", "Belgium", "Brazil", "Peru", "Ukraine", "Greece", "India", "United Arab Emirates", "Cyprus",
  24.     "Saudi Arabia"
  25. }
  26.  
  27. new const szCountryNumber[][] =
  28. {
  29.     "1310", "866866", "091810700", "141551", "14741", "1916", "90309", "13013", "1235", "55050", "54345", "0900506506",
  30.     "83355", "89000", "565", "5716", "7668", "4448", "3838", "72401", "22533", "6569", "Vivo: 99048 Claro: 49974 TIM: 49159 Oi: 99018",
  31.     "35100", "3161", "54344", "9287090010", "7510", "758223"
  32. }
  33.  
  34. new const szCountryCode[][] =
  35. {
  36.     "100", "TXT6", "TXT", "TAP", "FOR", "TXT", "TXT3", "TXT", "TXT", "TXT", "TXT", "TXT", "TXT", "TXT", "FOR", "TAP", "FOR", "TXT",
  37.     "FOR", "TXT", "TXT", "FOR", "TXT", "TAT4", "TXT", "TXT", "WLW", "TXT", "GMT", "TXT", "FOR", "TXT"
  38. }
  39.  
  40. new const szCountryMessagePrice[][] =
  41. {
  42.     "120.00 RSD + 1 cena obicne SMS poruke", "6.20 KN", "2.00 BAM + PDV",           /* Serbia, Croatia, Bosnia and Herzegovina */
  43.     "59.00 MKD", "1.00 Euro",                                                                                       /* Macedonia, Montenegro */
  44.     "2.40 BGN", "30.00 CZK", "1.60 Euro",                                                                   /* Bulgaria, Czech Republic, Estonia */
  45.     "1.00 Euro + TVA", "1.00 Euro",                                                                             /* Romania, Kosovo (Province) */
  46.     "120.00 ALL", "1.10 Euro", "1.00 Euro",                                                                 /* Albania, Austria, France */
  47.     "0.99 Euro", "2.00 CHF", "100.00 Rs",                                                                       /* Germany, Switzerland, Pakistan */
  48.     "7.38 PLN", "130.00 RUB", "0.99 Euro",                                                                  /* Poland, Russia, Slovenia */
  49.     "15.00 SEK", "9.99 ARS", "1.50 Euro", "4.99 BRL",                                                   /* Sweden, Argentina, Belgium, Brazil */
  50.     "7.00 PEN", "15.00 UAH", "1.23 Euro",                                                                   /* Peru, Ukraine, Greece */
  51.     "99.00 INR", "5.00 AED", "1.31 Euro",                                                                       /* India, United Arab Emirates, Cyprus */
  52.     "5,00 SAR" /* Saudi Arabia */
  53. }
  54.  
  55. public plugin_init()
  56. {
  57.     register_plugin("Boost List", "4.0", "Jack GamePlay")
  58.     register_cvar("Boost_Menu", "4.0 By Jack GamePlay", FCVAR_SERVER|FCVAR_SPONLY)
  59.    
  60.     new szCommands[sizeof(szMenuCommands) + 1], szTeamCommands[sizeof(szMenuCommands) + 1]
  61.     for(new i = 0; i < sizeof(szMenuCommands); i++)
  62.     {
  63.         formatex(szCommands, sizeof(szCommands), "say %s", szMenuCommands[i])
  64.         formatex(szTeamCommands, sizeof(szTeamCommands), "say_team %s", szMenuCommands[i])
  65.         register_clcmd(szCommands, "show_boost_list")
  66.         register_clcmd(szTeamCommands, "show_boost_list")
  67.     }
  68.  
  69.     g_pCvarMessageInterval = register_cvar("message_interval", "60.0")
  70.     g_pCvarCustomPrefix = register_cvar("custom_tag", "")
  71.  
  72.     set_task(get_pcvar_float(g_pCvarMessageInterval), "View_Message", 0, _, _, "b")
  73. }
  74.  
  75. #if AMXX_VERSION_NUM > 182
  76.     public client_disconnected(id)
  77. #else
  78.     public client_disconnect(id)
  79. #endif
  80. {
  81.     MENU_PAGE_ITEM = 0
  82. }
  83.  
  84. public show_boost_list(id)
  85. {
  86.     static szMenu[128]
  87.     new iMenuID, iItemData[2], iIndex
  88.    
  89.     formatex(szMenu, sizeof(szMenu), "Boost List^nChoose Your country:")
  90.     iMenuID = menu_create(szMenu, "menu_handle")
  91.    
  92.     for (iIndex = 0; iIndex < sizeof(szCountries); iIndex++)
  93.     {
  94.         formatex(szMenu, sizeof(szMenu), " %s", szCountries[iIndex])
  95.        
  96.         iItemData[0] = iIndex
  97.         iItemData[1] = 0
  98.         menu_additem(iMenuID, szMenu, iItemData)
  99.     }
  100.    
  101.     menu_setprop(iMenuID, MPROP_BACKNAME, "\wBack")
  102.     menu_setprop(iMenuID, MPROP_NEXTNAME, "\wNext")
  103.     menu_setprop(iMenuID, MPROP_EXITNAME, "\wExit")
  104.    
  105.     MENU_PAGE_ITEM = min(MENU_PAGE_ITEM, menu_pages(iMenuID) - 1)
  106.    
  107.     set_pdata_int(id, OFFSET_CSMENUCODE, 0)
  108.     menu_display(id, iMenuID, MENU_PAGE_ITEM)
  109. }
  110.  
  111. public menu_handle(id, iMenuID, iItem)
  112. {
  113.     if (iItem == MENU_EXIT)
  114.     {
  115.         MENU_PAGE_ITEM = 0
  116.         menu_destroy(iMenuID)
  117.         return PLUGIN_HANDLED
  118.     }
  119.    
  120.     MENU_PAGE_ITEM = iItem / 7
  121.    
  122.     static szMotd[3000]
  123.     new iItemData[2], iDummy, iCountryIndex, iLen, szName[33], szServerName[64], szIP[64]
  124.     menu_item_getinfo(iMenuID, iItem, iDummy, iItemData, sizeof(iItemData), _, _, iDummy)
  125.     iCountryIndex = iItemData[0]
  126.    
  127.     get_user_ip(0, szIP, sizeof(szIP), 0)
  128.     get_user_name(id, szName, sizeof(szName))
  129.     get_user_name(0, szServerName, sizeof(szServerName))
  130.    
  131.     iLen += formatex(szMotd[iLen], sizeof(szMotd) - iLen, "<html><head><style>@import url('https://fonts.googleapis.com/css?family=Work+Sans:400,500');body{background-color:#121212;font-family:'Work Sans',sans-serif;text-align:center;}h1{color:#fff;font-size:14px;}")
  132.     iLen += formatex(szMotd[iLen], sizeof(szMotd) - iLen, ".server-name, .country-name{color:#f00;text-decoration:underline;}p{color:#009fff;}p span{color:#09ff00;}.player-info{color: #ff0090}hr{background:#fc0000;border:none;height:3px;border-radius:10px;}</style></head><body>")
  133.     iLen += formatex(szMotd[iLen], sizeof(szMotd) - iLen, "<h1>You're trying to boost <span class=^"server-name^">%s</span> from <span class=^"country-name^"> %s</span>.</h1>", szServerName, szCountries[iCountryIndex])
  134.     iLen += formatex(szMotd[iLen], sizeof(szMotd) - iLen, "<p>Number where to send SMS: <span class=^"country-number^">%s</span>.</p>", szCountryNumber[iCountryIndex])
  135.     iLen += formatex(szMotd[iLen], sizeof(szMotd) - iLen, "<p>Message format: <span>%s GTRS</span> <span class=^"player-info^">%s %s</span>.</p>", szCountryCode[iCountryIndex], szIP, szName)
  136.     iLen += formatex(szMotd[iLen], sizeof(szMotd) - iLen, "<p>Message price: <span>%s</span>.</p><hr /></body></html>", szCountryMessagePrice[iCountryIndex])
  137.     show_motd(id, szMotd, "Boost List")
  138.    
  139.     menu_destroy(iMenuID)
  140.     return PLUGIN_HANDLED
  141. }
  142.  
  143. public View_Message()
  144. {
  145.     new szCustomPrefix[32]
  146.     get_pcvar_string(g_pCvarCustomPrefix, szCustomPrefix, sizeof(szCustomPrefix))
  147.     if (strlen(szCustomPrefix) <= 0)
  148.     {
  149.         #if AMXX_VERSION_NUM > 182
  150.             client_print_color(0, print_team_default , "!n[!gH!to!gw to boost!n] !tTo see !gBoost Menu!n, !tsay !g%s", szMenuCommands[random(sizeof(szMenuCommands))])
  151.         #else
  152.             client_print_colored(0, "!n[!gH!to!gw to boost!n] !tTo see !gBoost Menu!n, !tsay !g%s", szMenuCommands[random(sizeof(szMenuCommands))])
  153.         #endif
  154.     }
  155.     else
  156.     {
  157.         #if AMXX_VERSION_NUM > 182
  158.             client_print_color(0, print_team_default , "!n[!gH!to!gw to boost!n][!t%s!n] !tTo see !gBoost Menu!n, !tsay !g%s", szCustomPrefix, szMenuCommands[random(sizeof(szMenuCommands))])
  159.         #else
  160.             client_print_colored(0, "!n[!gH!to!gw to boost!n][!t%s!n] !tTo see !gBoost Menu!n, !tsay !g%s", szCustomPrefix, szMenuCommands[random(sizeof(szMenuCommands))])
  161.         #endif
  162.     }
  163. }
  164.  
  165. #if AMXX_VERSION_NUM < 183
  166. stock client_print_colored(const id, const input[], any:...)  
  167. {  
  168.     new count = 1, players[32]
  169.     static msg[191]
  170.     vformat(msg, sizeof(msg), input, 3);
  171.  
  172.     replace_all(msg, sizeof(msg), "!g", "^x04") // Green Color
  173.     replace_all(msg, sizeof(msg), "!n", "^x01") // Default Color
  174.     replace_all(msg, sizeof(msg), "!y", "^x01") // Default Color
  175.     replace_all(msg, sizeof(msg), "!t", "^x03") // Team Color
  176.  
  177.     if (id) players[0] = id; else get_players(players, count, "ch")
  178.     {
  179.         for (new i = 0; i < count; i++)
  180.         {
  181.             if (is_user_connected(players[i]))
  182.             {
  183.                 message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i])
  184.                 write_byte(players[i])
  185.                 write_string(msg)
  186.                 message_end()
  187.             }
  188.         }
  189.     }
  190. }
  191. #endif
Want your own mod edition? PM me.
Accepting private projects.
Discord: Fury#7469
Image

Rain1153
Senior Member
Senior Member
India
Posts: 278
Joined: 6 years ago
Contact:

#12

Post by Rain1153 » 5 years ago

hey jack how does this work? i think its just to display the msgs
LOL

czirimbolo
Veteran Member
Veteran Member
Poland
Posts: 598
Joined: 7 years ago
Contact:

#13

Post by czirimbolo » 5 years ago

Yes it displays the msgs. Can you add to this the /claim command, when after typing this command I can write a code from SMS. Player who type the code, will get 500 XP, VIP flags for a week and 1000 coins
Image

User avatar
Night Fury
Mod Developer
Mod Developer
Posts: 677
Joined: 7 years ago
Contact:

#14

Post by Night Fury » 5 years ago

Rain1153 wrote: 5 years ago hey jack how does this work? i think its just to display the msgs
It opens a motd from the chosen country showing boost information. You can test it.
czirimbolo wrote: 5 years ago Yes it displays the msgs. Can you add to this the /claim command, when after typing this command I can write a code from SMS. Player who type the code, will get 500 XP, VIP flags for a week and 1000 coins
If you read what i said before, you would see that i have asked for explanation...
Want your own mod edition? PM me.
Accepting private projects.
Discord: Fury#7469
Image

czirimbolo
Veteran Member
Veteran Member
Poland
Posts: 598
Joined: 7 years ago
Contact:

#15

Post by czirimbolo » 5 years ago

Ok its an example:

I am a player, I'm sending mobile SMS to boost server and received 'special code'. Then I join server, type on chat /claim and write this 'special code' on chat. After this I get automatically VIP flags for 1 week, 500 XP and 1000 coins.

Like sp3don said, I saw it on programing.ba
Image

czirimbolo
Veteran Member
Veteran Member
Poland
Posts: 598
Joined: 7 years ago
Contact:

#16

Post by czirimbolo » 5 years ago

Anyway Jack, format message is old.

Now its like this: Image

but it should be like this:

Poland
Number where to send SMS: 7668
Message format: TXT GTRS IP address Nick send to number 7668
Message example: TXT GTRS 193.104.68.58:27025 turshija
Message price: 7,38 PLN

Can you change it?
Image

User avatar
Night Fury
Mod Developer
Mod Developer
Posts: 677
Joined: 7 years ago
Contact:

#17

Post by Night Fury » 5 years ago

czirimbolo wrote: 5 years ago Anyway Jack, format message is old.

Now its like this: Image

but it should be like this:

Poland
Number where to send SMS: 7668
Message format: TXT GTRS IP address Nick send to number 7668
Message example: TXT GTRS 193.104.68.58:27025 turshija
Message price: 7,38 PLN

Can you change it?
Look, message format is not old.
Open the file & edit it as you want it to be.
About the message format & example, message formate is the example.
I'm not showing a notice for the message format & another one for the message example, no, it's just mixed & shows you what the message be.
The country is shown in the first line.
READ EVERYTHING!
Want your own mod edition? PM me.
Accepting private projects.
Discord: Fury#7469
Image

User avatar
Night Fury
Mod Developer
Mod Developer
Posts: 677
Joined: 7 years ago
Contact:

#18

Post by Night Fury » 5 years ago

czirimbolo wrote: 5 years ago Ok its an example:

I am a player, I'm sending mobile SMS to boost server and received 'special code'. Then I join server, type on chat /claim and write this 'special code' on chat. After this I get automatically VIP flags for 1 week, 500 XP and 1000 coins.

Like sp3don said, I saw it on programing.ba
Boot plugin is not even related to zombie escape, i just shared the plugin because you guys requested for it.
Something like this won't be officially in my code.
Want your own mod edition? PM me.
Accepting private projects.
Discord: Fury#7469
Image

czirimbolo
Veteran Member
Veteran Member
Poland
Posts: 598
Joined: 7 years ago
Contact:

#19

Post by czirimbolo » 5 years ago

ok so instead of TXT it can be FOR or whatever? and how to add my nickname in Message format? Because its necessary to send SMS with nickname at the end, or not?
Image

User avatar
Night Fury
Mod Developer
Mod Developer
Posts: 677
Joined: 7 years ago
Contact:

#20

Post by Night Fury » 5 years ago

czirimbolo wrote: 5 years ago ok so instead of TXT it can be FOR or whatever? and how to add my nickname in Message format? Because its necessary to send SMS with nickname at the end, or not?
@[mention]Raheem[/mention]!!
Tell him to change a country it's message contains what he wants.

Man! Stop making me MAD!
Want your own mod edition? PM me.
Accepting private projects.
Discord: Fury#7469
Image

Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Who is online

Users browsing this forum: No registered users and 1 guest