Aceasta este o previzualizare a unei teme de pe site-ul Hitskin.com
Instaleaza o tema • Inapoi la fisa temei
[TUTORIAL] INSTALARE PODBOT
:: Zona Generala :: Resurse Jocuri
Pagina 1 din 1 • Distribuiţi
[TUTORIAL] INSTALARE PODBOT
Prima data o sa va arat pe windows dupa si pe linux.
Atentie! Am lasat codul sursa mai jos (il instalati ca pe un plugin)
Windows
1. Prima data trebuie sa aveti fisierul podbot .
2. Dupa ce il dezarhivati ar trebui sa aveti fisierele astea:
[Trebuie sa fiti înscris şi conectat pentru a vedea această imagine]
3. Copiati podbot_mm.dll si il bagati in metamod/plugins.ini
asa ar trebui sa adaugati,ignorati celelalte ,l-am copiat direct de la mine
Linux
[Trebuie sa fiti inscris si conectat pentru a vedea acest link]
1. Prima data trebuie sa aveti fisierul podbot .
2. Dupa ce il dezarhivati ar trebui sa aveti fisierele astea:
[Trebuie sa fiti înscris şi conectat pentru a vedea această imagine]
3. Copiati podbot_mm_i386.so si il bagati in metamod/plugins.ini
asa ar trebui sa adaugati,ignorati celelalte ,l-am copiat direct de la mine
Pentru a instala corect podbot,rog sa fiti atenti unde puneti podbot,el se pune in addons langa amxmodx/metamod/reunion/dproto,etc
[Trebuie sa fiti înscris şi conectat pentru a vedea această imagine]
Am mai adaugat si o arhiva,contine peste ~7200 de fisiere (pwf) waypoints necesare pentru Podbot, dar si alte fisiere waypoints precum pxp, nwp, pth, swat, awp, etc.
Fisierele waypoints sunt necesare pentru a putea a da spawn la boti pe o anumita harta, fara ele botii nu ar putea sa se spawneze corect pe o harta.
download: [Trebuie sa fiti inscris si conectat pentru a vedea acest link]
Atentie! Am lasat codul sursa mai jos (il instalati ca pe un plugin)
Windows
1. Prima data trebuie sa aveti fisierul podbot .
2. Dupa ce il dezarhivati ar trebui sa aveti fisierele astea:
[Trebuie sa fiti înscris şi conectat pentru a vedea această imagine]
3. Copiati podbot_mm.dll si il bagati in metamod/plugins.ini
- Cod:
win32 addons\amxmodx\dlls\amxmodx_mm.dll
win32 addons\metamod\dlls\metamod.dll
win32 addons\podbot\podbot_mm.dll
win32 addons\reunion\reunion_mm.dll
asa ar trebui sa adaugati,ignorati celelalte ,l-am copiat direct de la mine
- Cod:
win32 addons\podbot\podbot_mm.dll
Linux
[Trebuie sa fiti inscris si conectat pentru a vedea acest link]
1. Prima data trebuie sa aveti fisierul podbot .
2. Dupa ce il dezarhivati ar trebui sa aveti fisierele astea:
[Trebuie sa fiti înscris şi conectat pentru a vedea această imagine]
3. Copiati podbot_mm_i386.so si il bagati in metamod/plugins.ini
- Cod:
linux addons/reunion/reunion_mm_i386.so
linux addons/amxmodx/dlls/amxmodx_mm_i386.so
linux addons/resemiclip/resemiclip_mm_i386.so
linux addons/podbot/podbot_mm_i386.so
asa ar trebui sa adaugati,ignorati celelalte ,l-am copiat direct de la mine
- Cod:
linux addons/podbot/podbot_mm_i386.so
- Cod:
/*------------------------------------------------------------------------------
Ultimate POD-Bot Menu v1.3 by g4s|figurE.09
Visit http://g4s.netfirms.com for updates.
Console Commands:
amx_pbmenu - displays POD-Bot main menu.
amx_pbaddbot - adds specific number of bots.
------------------------------------------------------------------------------*/
#include <amxmodx>
#include <amxmisc>
new g_botSkill = -1
new g_botPersonality = -1
new g_botTeam = -1
new g_botModel = -1
new g_fillServer = 0
public plugin_init() {
register_plugin("POD-Bot Menu", "1.3", "g4s|figurE.09")
register_concmd("amx_pbaddbot", "cmdAddbots", ADMIN_MENU, "<number of bots> - adds bots.")
register_menucmd(register_menuid("\yPOD-Bot Menu"), 1023, "actionPBMenu")
register_menucmd(register_menuid("\yPlease choose a Skill"), 1023, "actionCSMenu")
register_menucmd(register_menuid("\yPlease choose a Personality"), 1023, "actionCPMenu")
register_menucmd(register_menuid("\yPlease choose a Team"), 1023, "actionCTMenu")
register_menucmd(register_menuid("\yPlease choose a Model"), 1023, "actionCMMenu")
register_menucmd(register_menuid("\yKick Bot From"), 1023, "actionKBMenu")
register_menucmd(register_menuid("\yWeapon Mode"), 1023, "actionWMMenu")
register_clcmd("amx_pbmenu", "showPBMenu", ADMIN_MENU, "- displays POD-Bot menu.")
register_clcmd("amx_pbcsmenu", "showCSMenu", ADMIN_MENU, "- displays POD-Bot add bot(choose skill) menu.")
register_clcmd("amx_pbcpmenu", "showCPMenu", ADMIN_MENU, "- displays POD-Bot add bot(choose personality) menu.")
register_clcmd("amx_pbctmenu", "showCTMenu", ADMIN_MENU, "- displays POD-Bot add bot(choose team) menu.")
register_clcmd("amx_pbcmmenu", "showCMMenu", ADMIN_MENU, "- displays POD-Bot add bot(choose model) menu.")
register_clcmd("amx_pbkbmenu", "showKBMenu", ADMIN_MENU, "- displays POD-Bot kick bot menu.")
register_clcmd("amx_pbwmmenu", "showWMMenu", ADMIN_MENU, "- displays POD-Bot weapon mode menu.")
return PLUGIN_CONTINUE
}
/*--- Add Bots ---------------------------------------------------------------*/
public addBots() {
server_cmd("pb add")
}
public cmdAddbots(id, level, cid) {
if (!cmd_access(id, level, cid, 2))
return PLUGIN_HANDLED
new botsNum[32]
read_argv(1, botsNum, 31)
new botsnumber = str_to_num(botsNum)
set_task(1.0, "addBots", 12120, "", 0, "a", botsnumber - 1)
new name[32], authid[16]
get_user_name(id, name, 31)
get_user_authid(id, authid, 16)
log_amx("[POD-Bot] ^"%s<%d><%s><>^" add %d bots", name, get_user_userid(id), authid, botsnumber)
console_print(id, "* [POD-Bot] Added %d Bots.", botsnumber)
return PLUGIN_HANDLED
}
/*--- Add Specific Bot -------------------------------------------------------*/
public addSpecificBot() {
if (g_botSkill == -1)
g_botSkill = random_num(0, 100)
if (g_botPersonality == -1)
g_botPersonality = 5
if (g_botTeam == -1)
g_botTeam = (1, 2)
if (g_botModel == -1)
g_botModel = random_num(1, 4)
server_cmd("pb add %d %d %d %d", g_botSkill, g_botPersonality, g_botTeam, g_botModel)
}
/*--- Fill Server ------------------------------------------------------------*/
public fillServer() {
if (g_botSkill == -1)
g_botSkill = random_num(0, 100)
if (g_botPersonality == -1)
g_botPersonality = 5
if (g_botTeam == -1)
g_botTeam = 5
if (g_botModel == -1)
g_botModel = random_num(1, 4)
server_cmd("pb fillserver %d %d %d %d", g_botSkill, g_botPersonality, g_botTeam, g_botModel)
}
/*--- Main Menu --------------------------------------------------------------*/
public actionPBMenu(id, key) {
new name[32], authid[16]
get_user_name(id, name, 31)
get_user_authid(id, authid, 16)
switch(key) {
case 0: {
server_cmd("pb add")
client_cmd(id, "amx_pbmenu")
log_amx("[POD-Bot] ^"%s<%d><%s><>^" add a random bot", name, get_user_userid(id), authid)
}
case 1: {
g_fillServer = 0
client_cmd(id, "amx_pbcsmenu")
}
case 2: {
server_cmd("pb killbots")
log_amx("[POD-Bot] ^"%s<%d><%s><>^" kill all bots", name, get_user_userid(id), authid)
}
case 3: {
new plist[32], pnum
get_players(plist, pnum, "a")
for (new i = 0; i < pnum; i++) {
user_kill(plist[i], 1)
}
log_amx("[POD-Bot] ^"%s<%d><%s><>^" new round", name, get_user_userid(id), authid)
}
case 4: {
g_fillServer = 1
client_cmd(id, "amx_pbcsmenu")
}
case 5: {
client_cmd(id, "amx_pbkbmenu")
}
case 6: {
server_cmd("pb removebots")
log_amx("[POD-Bot] ^"%s<%d><%s><>^" kick all bots", name, get_user_userid(id), authid)
}
case 7: {
client_cmd(id, "amx_pbwmmenu")
}
}
return PLUGIN_HANDLED
}
public showPBMenu(id, level, cid) {
if (!cmd_access(id, level, cid, 1))
return PLUGIN_HANDLED
new menu[256]
format(menu, 255, "\yPOD-Bot Menu^n^n\w1. Quick Add Bot^n2. Add Specific Bot^n3. Kill All Bots^n4. New Round^n5. Fill Server^n6. Kick Bot^n7. Kick All Bots^n8. Weapon Mode^n^n\w0. Exit")
show_menu(id, ((1<<0)|(1<<1)|(1<<2)|(1<<3)|(1<<4)|(1<<5)|(1<<6)|(1<<7)|(1<<9)), menu)
return PLUGIN_HANDLED
}
/*--- Choose Skill Menu ------------------------------------------------------*/
public actionCSMenu(id, key) {
switch(key) {
case 0: {
g_botSkill = random_num(0, 19)
client_cmd(id, "amx_pbcpmenu")
}
case 1: {
g_botSkill = random_num(20, 39)
client_cmd(id, "amx_pbcpmenu")
}
case 2: {
g_botSkill = random_num(40, 59)
client_cmd(id, "amx_pbcpmenu")
}
case 3: {
g_botSkill = random_num(60, 79)
client_cmd(id, "amx_pbcpmenu")
}
case 4: {
g_botSkill = random_num(80, 99)
client_cmd(id, "amx_pbcpmenu")
}
case 5: {
g_botSkill = 100
client_cmd(id, "amx_pbcpmenu")
}
case 6: {
g_botSkill = random_num(0, 100)
client_cmd(id, "amx_pbcpmenu")
}
case 8: {
client_cmd(id, "amx_pbmenu")
}
}
return PLUGIN_HANDLED
}
public showCSMenu(id, level, cid) {
if (!cmd_access(id, level, cid, 1))
return PLUGIN_HANDLED
new menu[256]
format(menu, 255, "\yPlease choose a Skill^n^n\w1. Stupid(0-19)^n2. Newbie(20-39)^n3. Average(40-59)^n4. Advanced(60-79)^n5. Professional(80-99)^n6. Godlike(100)^n^n7. Random(0-100)^n^n\w9. Back^n\w0. Exit")
show_menu(id, ((1<<0)|(1<<1)|(1<<2)|(1<<3)|(1<<4)|(1<<5)|(1<<6)|(1<<8)|(1<<9)), menu)
return PLUGIN_HANDLED
}
/*--- Choose Personality Menu ------------------------------------------------*/
public actionCPMenu(id, key) {
switch(key) {
case 0: {
g_botPersonality = 1
client_cmd(id, "amx_pbctmenu")
}
case 1: {
g_botPersonality = 2
client_cmd(id, "amx_pbctmenu")
}
case 2: {
g_botPersonality = 3
client_cmd(id, "amx_pbctmenu")
}
case 3: {
g_botPersonality = 5
client_cmd(id, "amx_pbctmenu")
}
case 8: {
client_cmd(id, "amx_pbcsmenu")
}
}
return PLUGIN_HANDLED
}
public showCPMenu(id, level, cid) {
if (!cmd_access(id, level, cid, 1))
return PLUGIN_HANDLED
new menu[256]
format(menu, 255, "\yPlease choose a Personality^n^n\w1. Normal^n2. Aggresive^n3. Defensive^n^n4. Random^n^n\w9. Back^n\w0. Exit")
show_menu(id, ((1<<0)|(1<<1)|(1<<2)|(1<<3)|(1<<8)|(1<<9)), menu)
return PLUGIN_HANDLED
}
/*--- Choose Team Menu -------------------------------------------------------*/
public actionCTMenu(id, key) {
new name[32], authid[16]
get_user_name(id, name, 31)
get_user_authid(id, authid, 16)
switch(key) {
case 0: {
g_botTeam = 1
client_cmd(id, "amx_pbcmmenu")
}
case 1: {
g_botTeam = 2
client_cmd(id, "amx_pbcmmenu")
}
case 2: {
if (g_fillServer == 0) {
g_botTeam = random_num(1, 2)
client_cmd(id, "amx_pbcmmenu")
}
else {
g_botTeam = 5
set_task(0.1, "fillServer", 12121)
log_amx("[POD-Bot] ^"%s<%d><%s><>^" fill server", name, get_user_userid(id), authid)
}
}
case 8: {
client_cmd(id, "amx_pbcpmenu")
}
}
return PLUGIN_HANDLED
}
public showCTMenu(id, level, cid) {
if (!cmd_access(id, level, cid, 1))
return PLUGIN_HANDLED
new menu[256]
format(menu, 255, "\yPlease choose a Team^n^n\w1. Terrorist^n2. Counter-Terrorist^n^n3. Auto-Assign^n^n\w9. Back^n\w0. Exit")
show_menu(id, ((1<<0)|(1<<1)|(1<<2)|(1<<8)|(1<<9)), menu)
return PLUGIN_HANDLED
}
/*--- Choose Model Menu ------------------------------------------------------*/
public actionCMMenu(id, key) {
new name[32], authid[16]
get_user_name(id, name, 31)
get_user_authid(id, authid, 16)
switch(key) {
case 0: {
g_botModel = 1
if (g_fillServer == 0) {
set_task(0.1, "addSpecificBot", 12121)
log_amx("[POD-Bot] ^"%s<%d><%s><>^" add a bot", name, get_user_userid(id), authid)
client_cmd(id, "amx_pbmenu")
}
else if (g_fillServer == 1) {
set_task(0.1, "fillServer", 12121)
log_amx("[POD-Bot] ^"%s<%d><%s><>^" fill server", name, get_user_userid(id), authid)
}
}
case 1: {
g_botModel = 2
if (g_fillServer == 0) {
set_task(0.1, "addSpecificBot", 12121)
log_amx("[POD-Bot] ^"%s<%d><%s><>^" add a bot", name, get_user_userid(id), authid)
client_cmd(id, "amx_pbmenu")
}
else if (g_fillServer == 1) {
set_task(0.1, "fillServer", 12121)
log_amx("[POD-Bot] ^"%s<%d><%s><>^" fill server", name, get_user_userid(id), authid)
}
}
case 2: {
g_botModel = 3
if (g_fillServer == 0) {
set_task(0.1, "addSpecificBot", 12121)
log_amx("[POD-Bot] ^"%s<%d><%s><>^" add a bot", name, get_user_userid(id), authid)
client_cmd(id, "amx_pbmenu")
}
else if (g_fillServer == 1) {
set_task(0.1, "fillServer", 12121)
log_amx("[POD-Bot] ^"%s<%d><%s><>^" fill server", name, get_user_userid(id), authid)
}
}
case 3: {
g_botModel = 4
if (g_fillServer == 0) {
set_task(0.1, "addSpecificBot", 12121)
log_amx("[POD-Bot] ^"%s<%d><%s><>^" add a bot", name, get_user_userid(id), authid)
client_cmd(id, "amx_pbmenu")
}
else if (g_fillServer == 1) {
set_task(0.1, "fillServer", 12121)
log_amx("[POD-Bot] ^"%s<%d><%s><>^" fill server", name, get_user_userid(id), authid)
}
}
case 4: {
g_botModel = random_num(1, 4)
if (g_fillServer == 0) {
set_task(0.1, "addSpecificBot", 12121)
log_amx("[POD-Bot] ^"%s<%d><%s><>^" add a bot", name, get_user_userid(id), authid)
client_cmd(id, "amx_pbmenu")
}
else if (g_fillServer == 1) {
set_task(0.1, "fillServer", 12121)
log_amx("[POD-Bot] ^"%s<%d><%s><>^" fill server", name, get_user_userid(id), authid)
}
}
case 8: {
client_cmd(id, "amx_pbmenu")
}
}
return PLUGIN_HANDLED
}
public showCMMenu(id, level, cid) {
if (!cmd_access(id, level, cid, 1))
return PLUGIN_HANDLED
new menu[256]
format(menu, 255, (g_botTeam == 1) ? "\yPlease choose a Model^n^n\w1. Phoenix Connektion^n2. L337 Krew^n3. Arctic Avengers^n4. Guerilla Warfare^n^n5. Auto-Select^n^n\w9. Back^n\w0. Exit" : "\yPlease choose a Model^n^n\w1. Seal Team 6(DEVGRU)^n2. German GSG-9^n3. UK SAS^n4. French GIGN^n^n5. Auto-Select^n^n\w9. Back^n\w0. Exit")
show_menu(id, ((1<<0)|(1<<1)|(1<<2)|(1<<3)|(1<<4)|(1<<8)|(1<<9)), menu)
return PLUGIN_HANDLED
}
/*--- Kick Bot Menu ----------------------------------------------------------*/
public actionKBMenu(id, key) {
new name[32], authid[16]
get_user_name(id, name, 31)
get_user_authid(id, authid, 16)
switch(key) {
case 0: {
new blist[32], bnum
get_players(blist, bnum, "de", "TERRORIST")
for (new i = 0; i < bnum; i++) {
server_cmd("pb remove #%d", get_user_userid(blist[i]))
break
}
log_amx("[POD-Bot] ^"%s<%d><%s><>^" kick a bot", name, get_user_userid(id), authid)
client_cmd(id, "amx_pbkbmenu")
}
case 1: {
new blist[32], bnum
get_players(blist, bnum, "de", "CT")
for (new i = 0; i < bnum; i++) {
server_cmd("pb remove #%d", get_user_userid(blist[i]))
break
}
log_amx("[POD-Bot] ^"%s<%d><%s><>^" kick a bot", name, get_user_userid(id), authid)
client_cmd(id, "amx_pbkbmenu")
}
case 2: {
new blist[32], bnum
get_players(blist, bnum, "d")
for (new i = 0; i < bnum; i++) {
server_cmd("pb remove #%d", get_user_userid(blist[i]))
break
}
log_amx("[POD-Bot] ^"%s<%d><%s><>^" kick a bot", name, get_user_userid(id), authid)
client_cmd(id, "amx_pbkbmenu")
}
case 8: {
client_cmd(id, "amx_pbmenu")
}
}
return PLUGIN_HANDLED
}
public showKBMenu(id, level, cid) {
if (!cmd_access(id, level, cid, 1))
return PLUGIN_HANDLED
new menu[256]
format(menu, 255, "\yKick Bot From^n^n\w1. Terrorist^n2. Counter-Terrorist^n^n3. Auto-Select^n^n\w9. Back^n\w0. Exit")
show_menu(id, ((1<<0)|(1<<1)|(1<<2)|(1<<8)|(1<<9)), menu)
return PLUGIN_HANDLED
}
/*--- Weapon Mode Menu -------------------------------------------------------*/
public actionWMMenu(id, key) {
new name[32], authid[16]
get_user_name(id, name, 31)
get_user_authid(id, authid, 16)
switch(key) {
case 0: {
server_cmd("pb weaponmode 1")
log_amx("[POD-Bot] ^"%s<%d><%s><>^" weapon mode: knife", name, get_user_userid(id), authid)
}
case 1: {
server_cmd("pb weaponmode 2")
log_amx("[POD-Bot] ^"%s<%d><%s><>^" weapon mode: pistols", name, get_user_userid(id), authid)
}
case 2: {
server_cmd("pb weaponmode 3")
log_amx("[POD-Bot] ^"%s<%d><%s><>^" weapon mode: shotguns", name, get_user_userid(id), authid)
}
case 3: {
server_cmd("pb weaponmode 4")
log_amx("[POD-Bot] ^"%s<%d><%s><>^" weapon mode: machine guns", name, get_user_userid(id), authid)
}
case 4: {
server_cmd("pb weaponmode 5")
log_amx("[POD-Bot] ^"%s<%d><%s><>^" weapon mode: rifles", name, get_user_userid(id), authid)
}
case 5: {
server_cmd("pb weaponmode 6")
log_amx("[POD-Bot] ^"%s<%d><%s><>^" weapon mode: snipers", name, get_user_userid(id), authid)
}
case 6: {
server_cmd("pb weaponmode 7")
log_amx("[POD-Bot] ^"%s<%d><%s><>^" weapon mode: all weapons", name, get_user_userid(id), authid)
}
case 8: {
client_cmd(id, "amx_pbmenu")
}
}
return PLUGIN_HANDLED
}
public showWMMenu(id, level, cid) {
if (!cmd_access(id, level, cid, 1))
return PLUGIN_HANDLED
new menu[256]
format(menu, 255, "\yWeapon Mode^n^n\w1. Knife^n2. Pistols^n3. Shotguns^n4. Machine Guns^n5. Rifles^n6. Snipers^n^n7. All Weapons^n^n\w9. Back^n\w0. Exit")
show_menu(id, ((1<<0)|(1<<1)|(1<<2)|(1<<3)|(1<<4)|(1<<5)|(1<<6)|(1<<8)|(1<<9)), menu)
return PLUGIN_HANDLED
}
Pentru a instala corect podbot,rog sa fiti atenti unde puneti podbot,el se pune in addons langa amxmodx/metamod/reunion/dproto,etc
[Trebuie sa fiti înscris şi conectat pentru a vedea această imagine]
Am mai adaugat si o arhiva,contine peste ~7200 de fisiere (pwf) waypoints necesare pentru Podbot, dar si alte fisiere waypoints precum pxp, nwp, pth, swat, awp, etc.
Fisierele waypoints sunt necesare pentru a putea a da spawn la boti pe o anumita harta, fara ele botii nu ar putea sa se spawneze corect pe o harta.
download: [Trebuie sa fiti inscris si conectat pentru a vedea acest link]
mindfreak.- Medalia TopicurilorInsigna pentru crearea a 150 de posturi !Medalia grupurilorFelicitari ! Dacă ai această insignă înseamnă că faci parte din cel puțin 4 grupuri.Primul topic creatFelicitari ! Ai primit aceasă insignă pentru primul tau topic făcut la noi pe forum !Medalie de mulțumireFelicitari ! Această insignă se obține când oferi o mulțumire !Medalie de apreciereFelicitari ! Această insignă se obține când ai 1 mesaj apreciat !Medalie de puncteDisponibilă la 15000 de puncte!Utilizatori urmăriți !Felicitari ! Urmărești 5 membrii !Medalia vechimii [ani]Ai 365 de zile de când ești alături de noi !Medalia prietenieiFelicitari ! Această insignă se obține când ai 15 de prieteni !Medalie participare subiecteInsigna pentru participarea la 175 de subiecte !
Pet :
Mesaje : 338
Puncte : 28784
Multumiri primite: : 105
Data de înscriere : 24/10/2022
Varsta : 26
Subiecte similare
ť [Tutorial] Instalare sv_downloadurl
ť [Tutorial] Instalare Amxbans6.
ť [Tutorial] Test again la instalare platforma
ť [Tutorial] Creare & Instalare downloadURL cu 000webhost
ť Steam: Instalare, Creare Cont, Cumparare & Activare Licenta
ť [Tutorial] Instalare Amxbans6.
ť [Tutorial] Test again la instalare platforma
ť [Tutorial] Creare & Instalare downloadURL cu 000webhost
ť Steam: Instalare, Creare Cont, Cumparare & Activare Licenta
:: Zona Generala :: Resurse Jocuri
Pagina 1 din 1
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum
|
|