Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 239 online users. » 0 Member(s) | 237 Guest(s) Bing, Google
|
|
|
[0.3-DL] Survival [POLAND] |
Posted by: MySQLv12 - 2020-12-25, 08:56 PM - Forum: Serwery
- No Replies
|
 |
???? ZDJECIA Z SERWERA: ????
https://imgur.com/a/S05hQcw
Czesc !?
Chcialbym zareklamowac serwer o nazwie "Infekcja: Zombie Survival '1' " na platformie SA-MP.
IP:?178.32.203.118:4004
TRYB: SURVIVAL
PLATFORMA: SA:MP
WERJSA: 0.3-DL
FORUM: infekcja-samp.svpj.pl
DISCORD:?https://discord.gg/5KwqBXXVVJ
Chcialbym zaprezentowac tobie nasze Systemy:
???System Ekwipunku???
?Nasz ekwipunek aktywujesz za pomoca klikniecia 'Y', sa tam wszystkie twoje itemy, kt?re znalazles na pustyni san andreas.?
???System Banku???
?Dzieki zalozeniu konta w Cathay Bank, mozesz wplacac na konto swoje Itemy oraz pieniadze. No.. Ale po co?
Po to, aby tw?j ekwipunek nie mial za duzo udzwigu, poniewaz nie masz w nim duzo miejsca. Aby zwiekszyc tw?j udzwig ekwipunku, musisz znalezc sobie plecak o coraz wiekszych udzwigach :D Jest to po to, aby rozgrywka nie byla za latwa, ani za trudna. Jesli zginiesz, a bedziesz mial przy sobie pieniadze, i sw?j caly ekwipunek, twoje rzeczy zostana w tym miejscu w kt?rym zginales(as). ALE JESLI twoje itemy oraz pieniadze bedziesz trzymac w swoim banku, beda tam one. Nie usuna ci sie:D
???System Pojazd?w???
?Oczywiscie, na trybach survival kazdy by chcial miec sw?j prywatny pojazd. Oczywiscie mozesz go sobie kupic :D
Hmm,? lecz nie jest to takie latwe:) zn?w utrudnia rozgrywke, czyz nie? Aby miec sw?j pojazd, musisz ZNALEZC plany pojazdu. Na mapie randomowo ustawiaja sie loot'y, moze trafisz jakis pojazd. Znajac zycie, kt?rys z administrator?w lub wlascicieli pomoze ci przy pierwszym pojezdzie, a bedzie to skuter. 'FAGGIO'. Jak znajdziesz plany jakiegos pojazdu, oraz bedziesz mial sume got?wki kt?ra bedzie potrzebna do wyrobienia pojazdu, idz na stacje paliw u JOE, on wytworzy ci ten pojazd w sekunde! :D
???Itemy/Loot na mapie???
?Itemy na mapie odnawiaja sie co 10 minut. jesli zbierzesz item z ziemi, zniknie on, i nastepna osoba nie bedzie mogla go podniesc. Sa r?zne rodzaje respiacych sie na ziemi item?w.
-Smieci,
-Smietniki,
-Szafki,
-normalna rzecz kt?ra dostaniesz do EQ,
-Kufry,
-Paczki...
???Gracze???
?Jak wiadomo, jest to MultiPlayer, wiec gracze beda sie pojawiac na mapie.. Niekt?rzy gracze sa tacy, ze beda do ciebie strzelac... Niekt?rzy sa mili, i omina cie, aby szukac dalej item?w, nie robiac nikomu krzywdy. Najlepiej jest sie zaprzyjaznic z graczami. Bedziecie mogli sobie nawzajem sprzedawac potrzebne wam itemy, lub oddawac itemki.?
???Mapa Rozgrywki???
?Mapa na kt?rej jest rozegrany caly survival, to pustynia obok Las Venturas. Mniej wiecej te miejsca:
-Stare lotnisko
-Area 51
-El Quebrados
-Las Payasadas
-Las Barrancas
-Fort Carson
???| Osady | Schron | Handel |???
?Osada to miejsce, w kt?rym mozesz:
-Sie schronic
-Zjesc cos oraz napoic
-Sprzedac lub kupic w sklepie (u handlarza)
-Wziac zadanie
-Schowac lub wziac cos ze swojego banku
ITP.
>>>>> Zdjecia z serwera: <<<<<?
![[Image: g17kbAA]](https://imgur.com/a/g17kbAA)
![[Image: HUk7a4y]](https://imgur.com/a/HUk7a4y)
![[Image: f3VdwU6]](https://imgur.com/a/f3VdwU6)
![[Image: qAApLWh]](https://imgur.com/a/qAApLWh)
|
|
|
UG-MP |
Posted by: Ryder Sixz - 2020-12-25, 07:04 PM - Forum: General Discussions
- Replies (6)
|
 |
Well, as many of you know, this mod came out ... Underground MP Opinions? I honestly love the mod. I'm not going to lie to you, but I always hoped it came out sooner. Now what will happen to open-mp?
|
|
|
what's wrong? |
Posted by: vandiesel45 - 2020-12-25, 01:13 AM - Forum: Pawn Scripting
- Replies (2)
|
 |
Hi,
I HAVE THIS ERRORS in console:
AFTER UPDATE SSCANF.
(with 2.8.2 all is normal).
Code: [03:05:54] [debug] Long callback execution detected (hang or performance issue)
[03:05:54] [debug] AMX backtrace:
[03:05:54] [debug] #0 00138000 in public SaveServerStuff (SN=2) at D:\Users\Cristi\Desktop\mm\GAMEMODE - [MY WORK]\gamemodes\[color=#c10300][b]xyz.pwn:16029[/b][/color]
[03:05:54] [debug] #1 00096044 in public FIXES_OnGameModeExit ()? at D:\Users\Cristi\Desktop\mm\GAMEMODE - [MY WORK]\gamemodes\xyz.pwn:5642
[03:05:54] [debug] #2 00004a04 in public OnGameModeExit () at D:\Users\Cristi\Desktop\mm\GAMEMODE - [MY WORK]\pawno\include\fixes.inc:6782
this is the code and line:
Code: new str[300], File: ABC = fopen("Server/property.cfg", io_write);
? ? ? ? for (new i = 0; i < sizeof(HouseInfo); i)
? ? ? ? {
? ? ? ? ? ? [color=#c10300][b]format(str, sizeof(str), "%.1f,%.1f,%.1f,%.1f,%.1f,%.1f,%s,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%.1f,%.1f,%d,%d,%.1f,%.1f,%.1f,%.1f,%d,%d,%d,%d,%s,%d\n",[/b][/color]
HouseInfo[i][hEntx],
HouseInfo[i][hEnty],
HouseInfo[i][hEntz],
HouseInfo[i][hExitx],
HouseInfo[i][hExity],
HouseInfo[i][hExitz],
HouseInfo[i][hOwner],
HouseInfo[i][hDrink],
HouseInfo[i][hValue],
HouseInfo[i][hHeal],
HouseInfo[i][hArmour],
HouseInfo[i][hInterior],
HouseInfo[i][hLock],
HouseInfo[i][hOwned],
HouseInfo[i][hTV],
HouseInfo[i][hRent],
HouseInfo[i][hDrugs],
HouseInfo[i][hTakings],
HouseInfo[i][hGun],
HouseInfo[i][hMats],
HouseInfo[i][hLevel],
HouseInfo[i][hEntrancea],
HouseInfo[i][hExita],
HouseInfo[i][hPickup],
HouseInfo[i][hVehModel],
HouseInfo[i][hVehX],
HouseInfo[i][hVehY],
HouseInfo[i][hVehZ],
HouseInfo[i][hVehA],
HouseInfo[i][hVehCol1],
HouseInfo[i][hVehCol2],
HouseInfo[i][hVehLock],
HouseInfo[i][hVehFuel],
HouseInfo[i][hVehLicense],
HouseInfo[i][hVehStatus]);
fwrite(ABC, str);
? ? ? ? }
? ? ? ? fclose(ABC);
|
|
|
Data loading |
Posted by: AdamWorkshop - 2020-12-23, 04:35 PM - Forum: Pawn Scripting
- Replies (4)
|
 |
Hi,
I am using a saving system by MySQL. The problem is, that I have multiple tables, in to which data are being saved. Everything works perfectly fine, until I want to load them.
When players connects and enters a correct password, I select all the data from all tables and pass them further into spawning. The problem is, that even that all of these tables and fields, columns are created properly both in the database and stated in the script, the data are not loaded and SQL throws out this error:
Field X does not exist
It is however properly created in the database. Funny part is, that this is only happening to the 2nd and 3rd table. The fields from the first table are being loaded just fine, and so when I move certain fields to the first table, they are excluded from the SQL error and everything works just fine. I am using a MULTI_STATEMENT when selecting these fields from the tables.
For any help, I will be thankful in advance.
|
|
|
Input to long (mysql) |
Posted by: Stones - 2020-12-23, 02:03 AM - Forum: Pawn Scripting
- Replies (3)
|
 |
Im trying to create this table if it doesn't exist, just as a backup in the event i some how manage to lose the sql.
I've tried using strcat i've tried looking at?https://www.burgershot.gg/showthread.php?tid=660 and i just get the same message
PHP Code: SetupCharacters()
{
? mysql_tquery(SQL_CONNECTION, "CREATE TABLE IF NOT EXISTS `characters` (? `ID` int(6) NOT NULL AUTO_INCREMENT,? `A_ID` int(6) NOT NULL,? `Name` varchar(34) NOT NULL,? `RegisterIP` varchar(16) NOT NULL,? `RegisterDate` int(12) NOT NULL,? `LatestIP` varchar(16) NOT NULL,? `Tutorial` int(2) NOT NULL,? `Level` int(5) NOT NULL,? `VIP` int(2) NOT NULL,? `Human` int(1) NOT NULL,? `Zombie` int(1) NOT NULL,? `Talent` int(1) NOT NULL,? `XP` int(6) NOT NULL,? `Cash` int(11) NOT NULL,? `Skin` int(3) NOT NULL,? `PosX` float NOT NULL,? `PosY` float NOT NULL,? `PosZ` float NOT NULL,? `VWorld` int(4) NOT NULL,? `Interior` int(2) NOT NULL,? `Age` int(3) NOT NULL,? `Gender` int(2) NOT NULL,? `Kicks` int(5) NOT NULL,? `Muted` int(2) NOT NULL,? `Faction` int(2) NOT NULL,? `Rank` int(2) NOT NULL,? `Health` float NOT NULL,? `Armour` float NOT NULL,? `hEntered` int(5) NOT NULL,? `bEntered` int(5) NOT NULL,? `Vehicles` int(3) NOT NULL,? `Bank` int(12) NOT NULL,? `ExemptIP` int(11) NOT NULL,? `TotalTimePlayed` int(12) NOT NULL,? `OnlinePeriod` int(12) NOT NULL,? `Payday` int(12) NOT NULL,? `LastOnline` int(12) NOT NULL,? `Cuffed` int(1) NOT NULL,? `Spawn` int(1) NOT NULL,? `Jail` int(4) NOT NULL,? `Radio` int(2) NOT NULL,? `RadioFreq` int(4) NOT NULL DEFAULT 27,? `Weapons` varchar(104) NOT NULL DEFAULT '0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0',? `Uniform` int(4) NOT NULL,? `Screwdriver` int(2) NOT NULL,? PRIMARY KEY (`ID`),? UNIQUE KEY `Username` (`Name`),? UNIQUE KEY `ID` (`ID`))");
? return 1;
}
PHP Code: error 075: input line too long (after substitutions)
error 037: invalid string (possibly non-terminated string)
error 017: undefined symbol "CREATE"
error 017: undefined symbol "IF"
fatal error 107: too many error messages on one line
|
|
|
Problem with OnPlayerClickTextdraw |
Posted by: shane adevaratu - 2020-12-22, 04:37 PM - Forum: Pawn Scripting
- Replies (7)
|
 |
The OnPlayerClickTextdraw function is no longer called.
I use y_hooks in different includes to call this function. The rest of the functions that use y_hooks work,?less this.
Has anyone been through this and solved it, or do you have any idea what it might be?
A few days ago it worked perfectly.?I tried to disable each include that uses this function, or call them in the general public on gamemode, but the problem is still.
|
|
|
Problem with percentage |
Posted by: GospodinX - 2020-12-22, 10:32 AM - Forum: Pawn Scripting
- Replies (3)
|
 |
Hi guys
I use percentage for many things in my SA-MP server.(discounts,tax etc),but I have some problems with it.
For "small" numbers it work pretty nice.
Code:
Code: new result = PERCENT*PRICE/100;
printf("Result: %d",result);
First test:
PERCENT: 75
PRICE: 140 000 000
Result:?19100654
Result is ok
Second test:
PERCENT: 75
PRICE: 340 000 000
Result:?-17698038
Result is wrong
Does anyone have idea how I should fix it?
|
|
|
|