boost plugin
-
- Veteran Member
- Posts: 598
- Joined: 7 years ago
- Contact:
boost plugin
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?
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?
you want made it like PG srw right ?
PG srw boost not connected with gt.rs they made own Boost system
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.
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
- Night Fury
- Mod Developer
- Posts: 677
- Joined: 7 years ago
- Contact:
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?
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?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?
- Night Fury
- Mod Developer
- Posts: 677
- Joined: 7 years ago
- Contact:
Of course free.
Did you make it on this site if so where lol
- Night Fury
- Mod Developer
- Posts: 677
- Joined: 7 years ago
- Contact:
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 lolJack GamePlay wrote: ↑5 years agoI give it for who asks for it.
I just did not share it here because it has nothing related to zombie escape.
-
- Veteran Member
- Posts: 598
- Joined: 7 years ago
- Contact:
- Night Fury
- Mod Developer
- Posts: 677
- Joined: 7 years ago
- Contact:
- #include <amxmodx>
- #include <fakemeta>
- #define MENU_PAGE_ITEM g_iMenuData[id]
- new g_iMenuData[33]
- const OFFSET_CSMENUCODE = 205
- new g_pCvarMessageInterval, g_pCvarCustomPrefix
- new const szMenuCommands[][] =
- {
- "/htbs", "/htbs", "/boost", "/boost", "/howtoboost", "/howtoboost", "/htb", "/htb", "htbs", "htbs", "bostati", "/bostati",
- "boost", "boost", "howtoboost", "howtoboost", "htb", "htb", "/ComoImpulsar", "/ComoImpulsar", "ComoImpulsar",
- "ComoImpulsar", "/Boostkesekarnahai", "/Boostkesekarnahai", "Boostkesekarnahai", "Boostkesekarnahai", "/boostez", "/boostez",
- "boostez", "boostez", "/KakoBostati", "KakoBostati", "/KakoBostati", "KakoBostati", "/bostati", "bostati"
- }
- new const szCountries[][] =
- {
- "Serbia", "Croatia", "Bosnia and Herzegovina", "Macedonia", "Montenegro", "Bulgaria", "Czech Republic", "Estonia",
- "Romania", "Kosovo", "Albania", "Austria", "France", "Germany", "Switzerland", "Pakistan", "Poland", "Russia", "Slovenia", "Sweden",
- "Argentina", "Belgium", "Brazil", "Peru", "Ukraine", "Greece", "India", "United Arab Emirates", "Cyprus",
- "Saudi Arabia"
- }
- new const szCountryNumber[][] =
- {
- "1310", "866866", "091810700", "141551", "14741", "1916", "90309", "13013", "1235", "55050", "54345", "0900506506",
- "83355", "89000", "565", "5716", "7668", "4448", "3838", "72401", "22533", "6569", "Vivo: 99048 Claro: 49974 TIM: 49159 Oi: 99018",
- "35100", "3161", "54344", "9287090010", "7510", "758223"
- }
- new const szCountryCode[][] =
- {
- "100", "TXT6", "TXT", "TAP", "FOR", "TXT", "TXT3", "TXT", "TXT", "TXT", "TXT", "TXT", "TXT", "TXT", "FOR", "TAP", "FOR", "TXT",
- "FOR", "TXT", "TXT", "FOR", "TXT", "TAT4", "TXT", "TXT", "WLW", "TXT", "GMT", "TXT", "FOR", "TXT"
- }
- new const szCountryMessagePrice[][] =
- {
- "120.00 RSD + 1 cena obicne SMS poruke", "6.20 KN", "2.00 BAM + PDV", /* Serbia, Croatia, Bosnia and Herzegovina */
- "59.00 MKD", "1.00 Euro", /* Macedonia, Montenegro */
- "2.40 BGN", "30.00 CZK", "1.60 Euro", /* Bulgaria, Czech Republic, Estonia */
- "1.00 Euro + TVA", "1.00 Euro", /* Romania, Kosovo (Province) */
- "120.00 ALL", "1.10 Euro", "1.00 Euro", /* Albania, Austria, France */
- "0.99 Euro", "2.00 CHF", "100.00 Rs", /* Germany, Switzerland, Pakistan */
- "7.38 PLN", "130.00 RUB", "0.99 Euro", /* Poland, Russia, Slovenia */
- "15.00 SEK", "9.99 ARS", "1.50 Euro", "4.99 BRL", /* Sweden, Argentina, Belgium, Brazil */
- "7.00 PEN", "15.00 UAH", "1.23 Euro", /* Peru, Ukraine, Greece */
- "99.00 INR", "5.00 AED", "1.31 Euro", /* India, United Arab Emirates, Cyprus */
- "5,00 SAR" /* Saudi Arabia */
- }
- public plugin_init()
- {
- register_plugin("Boost List", "4.0", "Jack GamePlay")
- register_cvar("Boost_Menu", "4.0 By Jack GamePlay", FCVAR_SERVER|FCVAR_SPONLY)
- new szCommands[sizeof(szMenuCommands) + 1], szTeamCommands[sizeof(szMenuCommands) + 1]
- for(new i = 0; i < sizeof(szMenuCommands); i++)
- {
- formatex(szCommands, sizeof(szCommands), "say %s", szMenuCommands[i])
- formatex(szTeamCommands, sizeof(szTeamCommands), "say_team %s", szMenuCommands[i])
- register_clcmd(szCommands, "show_boost_list")
- register_clcmd(szTeamCommands, "show_boost_list")
- }
- g_pCvarMessageInterval = register_cvar("message_interval", "60.0")
- g_pCvarCustomPrefix = register_cvar("custom_tag", "")
- set_task(get_pcvar_float(g_pCvarMessageInterval), "View_Message", 0, _, _, "b")
- }
- #if AMXX_VERSION_NUM > 182
- public client_disconnected(id)
- #else
- public client_disconnect(id)
- #endif
- {
- MENU_PAGE_ITEM = 0
- }
- public show_boost_list(id)
- {
- static szMenu[128]
- new iMenuID, iItemData[2], iIndex
- formatex(szMenu, sizeof(szMenu), "Boost List^nChoose Your country:")
- iMenuID = menu_create(szMenu, "menu_handle")
- for (iIndex = 0; iIndex < sizeof(szCountries); iIndex++)
- {
- formatex(szMenu, sizeof(szMenu), " %s", szCountries[iIndex])
- iItemData[0] = iIndex
- iItemData[1] = 0
- menu_additem(iMenuID, szMenu, iItemData)
- }
- menu_setprop(iMenuID, MPROP_BACKNAME, "\wBack")
- menu_setprop(iMenuID, MPROP_NEXTNAME, "\wNext")
- menu_setprop(iMenuID, MPROP_EXITNAME, "\wExit")
- MENU_PAGE_ITEM = min(MENU_PAGE_ITEM, menu_pages(iMenuID) - 1)
- set_pdata_int(id, OFFSET_CSMENUCODE, 0)
- menu_display(id, iMenuID, MENU_PAGE_ITEM)
- }
- public menu_handle(id, iMenuID, iItem)
- {
- if (iItem == MENU_EXIT)
- {
- MENU_PAGE_ITEM = 0
- menu_destroy(iMenuID)
- return PLUGIN_HANDLED
- }
- MENU_PAGE_ITEM = iItem / 7
- static szMotd[3000]
- new iItemData[2], iDummy, iCountryIndex, iLen, szName[33], szServerName[64], szIP[64]
- menu_item_getinfo(iMenuID, iItem, iDummy, iItemData, sizeof(iItemData), _, _, iDummy)
- iCountryIndex = iItemData[0]
- get_user_ip(0, szIP, sizeof(szIP), 0)
- get_user_name(id, szName, sizeof(szName))
- get_user_name(0, szServerName, sizeof(szServerName))
- 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;}")
- 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>")
- 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])
- iLen += formatex(szMotd[iLen], sizeof(szMotd) - iLen, "<p>Number where to send SMS: <span class=^"country-number^">%s</span>.</p>", szCountryNumber[iCountryIndex])
- 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)
- iLen += formatex(szMotd[iLen], sizeof(szMotd) - iLen, "<p>Message price: <span>%s</span>.</p><hr /></body></html>", szCountryMessagePrice[iCountryIndex])
- show_motd(id, szMotd, "Boost List")
- menu_destroy(iMenuID)
- return PLUGIN_HANDLED
- }
- public View_Message()
- {
- new szCustomPrefix[32]
- get_pcvar_string(g_pCvarCustomPrefix, szCustomPrefix, sizeof(szCustomPrefix))
- if (strlen(szCustomPrefix) <= 0)
- {
- #if AMXX_VERSION_NUM > 182
- 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))])
- #else
- client_print_colored(0, "!n[!gH!to!gw to boost!n] !tTo see !gBoost Menu!n, !tsay !g%s", szMenuCommands[random(sizeof(szMenuCommands))])
- #endif
- }
- else
- {
- #if AMXX_VERSION_NUM > 182
- 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))])
- #else
- 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))])
- #endif
- }
- }
- #if AMXX_VERSION_NUM < 183
- stock client_print_colored(const id, const input[], any:...)
- {
- new count = 1, players[32]
- static msg[191]
- vformat(msg, sizeof(msg), input, 3);
- replace_all(msg, sizeof(msg), "!g", "^x04") // Green Color
- replace_all(msg, sizeof(msg), "!n", "^x01") // Default Color
- replace_all(msg, sizeof(msg), "!y", "^x01") // Default Color
- replace_all(msg, sizeof(msg), "!t", "^x03") // Team Color
- if (id) players[0] = id; else get_players(players, count, "ch")
- {
- for (new i = 0; i < count; i++)
- {
- if (is_user_connected(players[i]))
- {
- message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i])
- write_byte(players[i])
- write_string(msg)
- message_end()
- }
- }
- }
- }
- #endif
-
- Veteran Member
- Posts: 598
- Joined: 7 years ago
- Contact:
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
- Night Fury
- Mod Developer
- Posts: 677
- Joined: 7 years ago
- Contact:
It opens a motd from the chosen country showing boost information. You can test it.
If you read what i said before, you would see that i have asked for explanation...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
-
- Veteran Member
- Posts: 598
- Joined: 7 years ago
- Contact:
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
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
-
- Veteran Member
- Posts: 598
- Joined: 7 years ago
- Contact:
Anyway Jack, format message is old.
Now its like this:
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?
Now its like this:
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?
- Night Fury
- Mod Developer
- Posts: 677
- Joined: 7 years ago
- Contact:
Look, message format is not old.czirimbolo wrote: ↑5 years ago Anyway Jack, format message is old.
Now its like this:
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?
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!
- Night Fury
- Mod Developer
- Posts: 677
- Joined: 7 years ago
- Contact:
Boot plugin is not even related to zombie escape, i just shared the plugin because you guys requested for it.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
Something like this won't be officially in my code.
-
- Veteran Member
- Posts: 598
- Joined: 7 years ago
- Contact:
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?
- Night Fury
- Mod Developer
- Posts: 677
- Joined: 7 years ago
- Contact:
@[mention]Raheem[/mention]!!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?
Tell him to change a country it's message contains what he wants.
Man! Stop making me MAD!
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
Sign in
Who is online
Users browsing this forum: Ahrefs [Bot] and 1 guest