d92eividas wrote:Sveiki susidūriau su dar viena problema.
Kiek visur internete skaičiau ir žiūrėjau, kad norint jog botai nenaudotų zoom ginklų, reikia podbot.cfg redaguoti tokią eilutę.
pb_restrweapons "00000001100000010001111110" ir pb_restrequipammo "001000100" kaip matote jos jau yra redaguotos ir pasirinkta kokių ginklų man nereikia, tačiau paleidus serverį iš naujo vis vien botai naudoja visus ginklus, serveris yra CSDM. Kiek testavau, net nelabai įdomu kaip ta eilutė atrodys ar taip: pb_restrweapons "01111111111111111111111111" ar kaip nors kitaip. Tai pat kiek leidžia man žinios redagavau botweapons.cfg, nustačiau prioritetinius ginklus tokius kaip mk, ak47 ir taip toliau.
Tai gi jau nebežinau ką dar reikėtų keisti ir kaip įveikti šią problemą, prašau jūsų pagalbos.
Serverio informacija, AMXMODX v1.8.3-Re, MetaMod v1.21p37, PODBot v3B22
kartais ne botweapons.cfg reikia redaguoti ?
Redagavau tiek botweapons.cfg tiek podbot.cfg. kaip jau ir minėjau anksčiau prioritetinius ginklus nustačiau pro, tokius kaip mk, ak47 usp deagle ir panašiai, o tokius ginklus kaip awp ir kiti bot guns aug ir taip toliau visai išjungiau.
Štai kaip atrodo kodas:
# Following are Tables which specify which Team is allowed
# to buy a weapon on a Map. You can also use it to allow/disallow
# Weapons for a Team or a Map/Gamemode (remember that some
# Weapons are team-specific and can't be bought by another team).
# -1 = Disallow Buying for any Team
# 0 = Terrorist Team only
# 1 = CT Team only
# 2 = Can be bought by both Teams
# Standard Weapon Tab for CS & DE Maps
#0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
[STANDARD]
-1,-1,-1,02,02,00,01,02,02,02,01,02,00,02,00,00,01,00,01,01,-1,-1,-1,-1,02,01
Ir vis vien botai naudoja awp ir kitus bot gun'us, nesuprantu kur klaida.
Love yourself… respect yourself, there has nobody been like you before and there will never be anyone like you again… you are unique..
Na tai čia ir rašo, kad komanda 0 leidžia botam pasirinkti ginklą, o komanda 1 uždraudžia. Dar siūlo, nautoti kitą versiją senesnę kiek suprantu. Kurios nėra oficialeme puslapyje, yra naujausia. Oficialiame puslapyje tai pat aiškina, kad reikia redaguoti būtent tą kodą, yra pateikti keli pavizdžiai, bet man ir jie neveikia. Nors suinstaliavau viską tvarkingai ir tikrai gerai, esu įsitikinęs šimtu procentu.
# Following are Tables which specify which Team is allowed
# to buy a weapon on a Map. You can also use it to allow/disallow
# Weapons for a Team or a Map/Gamemode (remember that some
# Weapons are team-specific and can't be bought by another team).
# -1 = Disallow Buying for any Team
# 0 = Terrorist Team only
# 1 = CT Team only
# 2 = Can be bought by both Teams
# Standard Weapon Tab for CS & DE Maps
#0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
[STANDARD]
-1,-1,-1,02,02,00,01,02,02,02,01,02,00,02,00,00,01,00,01,01,-1,-1,-1,-1,02,01
# Escape & Knife Arena Maps aren't supported by CS and
# so I don't care about them in POD-Bot neither !
# Some example Tables:
# Pistols Only
#-1,-1,-1,2,2,0,1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
# Shotguns Only
#-1,-1,-1,-1,-1,-1,-1,2,2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
# SubMachine-Guns Only
#-1,-1,-1,-1,-1,-1,-1,-1,-1,2,1,2,0,2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
# The following Tables stores the Weapon Priorities of the Bots depending on
# Personality (it affects buying & picking up better weapons from the
# ground).
# Weapon Priorities for a Normal Standard Bot
#0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
[NORMAL]
00,16,14,01,02,03,04,17,18,05,06,07,08,09,10,11,12,13,15,19,20,25,21,22,23,24
tesiok kai serveri stebi reliu laiku per putty irasyk pb add zinoma pb_maxbots skaicius pasikeisk i norima default 16 man rodos arba gali pb add 100 tam paciam cfg susirades dasideti kiek tau reikia botskill.cfg seip nesuprantu gi viskas angliskai cfg parasyta negali pasiskaityti ?