SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Русский/Russian > Релизы/Releases

Reply
 
Thread Tools Display Modes
Old 31/10/2014, 04:27 PM   #11
Pottus
Godfather
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 5,204
Reputation: 1242
Default Re: DayZ+

@Bombo The reason is CreateObject() is it's own function which is useful for certain things that dynamic objects are not so good for!
Pottus is offline   Reply With Quote
Old 05/11/2014, 08:09 PM   #12
Bombo
Huge Clucker
 
Bombo's Avatar
 
Join Date: Jun 2012
Posts: 285
Reputation: 76
Default Re: DayZ+

Quote:
Originally Posted by Toxik View Post
OMG !
defining so may %1 %2 hahahha
http://www.compuphase.com/pawn/Pawn_Language_Guide.pdf:
Quote:
#define pattern replacement

Defines a text substitution macro. The pattern is matched to all
lines read from the source files; the sections that match are replaced
by the replacement texts. The pattern and the replacement texts
may contain parameters, denoted by “%0” to “%9”. See page 92 for
details and examples on text substitution.
Quote:
Originally Posted by Pottus View Post
@Bombo The reason is CreateObject() is it's own function which is useful for certain things that dynamic objects are not so good for!
It depends on the code.
Bombo is offline   Reply With Quote
Old 06/11/2014, 09:30 PM   #13
TomIrish
Big Clucker
 
Join Date: Jan 2014
Location: 37.59.28.180:14390
Posts: 101
Reputation: 7
Default Re: DayZ+

Where is pwn ?
__________________
TomIrish is offline   Reply With Quote
Old 07/11/2014, 08:38 AM   #14
Stepashka
Godfather
 
Stepashka's Avatar
 
Join Date: Jul 2008
Location: near PC
Posts: 5,467
Reputation: 135
Default Re: DayZ+

Quote:
Originally Posted by TomIrish View Post
Where is pwn ?
Опа, интересный вопрос. Автор или добавляешь pwn файл или весь топик будет удален. У тебя сутки.
__________________
Клятва Страуструпа: "Я обязуюсь прилежно комментировать свой код, не использовать goto и следить за состоянием своих потоков и выделяемой памяти. Я обязуюсь не оставлять мусора в системе и избегать однобуквенных переменных. Ресет." © Куч
M&M GM
Status: ON HOLD

Stepashka is offline   Reply With Quote
Old 07/11/2014, 10:31 AM   #15
Bombo
Huge Clucker
 
Bombo's Avatar
 
Join Date: Jun 2012
Posts: 285
Reputation: 76
Default Re: DayZ+

Quote:
Originally Posted by TomIrish View Post
Where is pwn ?
Quote:
Originally Posted by Stepashka View Post
Опа, интересный вопрос. Автор или добавляешь pwn файл или весь топик будет удален. У тебя сутки.
Все pwn в папке pawno проекта. Основной код в файле menu.pwn

Last edited by Bombo; 07/11/2014 at 10:42 AM. Reason: добавлены ссылки
Bombo is offline   Reply With Quote
Old 07/11/2014, 10:42 AM   #16
Stepashka
Godfather
 
Stepashka's Avatar
 
Join Date: Jul 2008
Location: near PC
Posts: 5,467
Reputation: 135
Default Re: DayZ+

Quote:
Originally Posted by Bombo View Post
Все pwn в папке pawno проекта. Основной код в файле menu.pwn
Ок
__________________
Клятва Страуструпа: "Я обязуюсь прилежно комментировать свой код, не использовать goto и следить за состоянием своих потоков и выделяемой памяти. Я обязуюсь не оставлять мусора в системе и избегать однобуквенных переменных. Ресет." © Куч
M&M GM
Status: ON HOLD

Stepashka is offline   Reply With Quote
Old 07/11/2014, 10:48 AM   #17
TomIrish
Big Clucker
 
Join Date: Jan 2014
Location: 37.59.28.180:14390
Posts: 101
Reputation: 7
Default Re: DayZ+

Sorry, nevizu cto tut napisano. Mozes translitom napisat? Ja zagruzil SQL na localhost s Wamp i sdelal tokije parametry v defines.inc
Quote:
#define HOST "localhost" //host name/addr
#define USER "root" //user name
#define PASSWD "" //user password
#define DBNAME "dayz" //database name
ili tak
#define HOST "127.0.0.1" //host name/addr
#define USER "root" //user name
#define PASSWD "" //user password
#define DBNAME "dayz" //database name
Sohranil i potom skompiliroval menu.pwn i amx zabrosil v filterscripts. Kogda zapuskaju polucaetsa eto.
Quote:
[10:29:15] [WARNING] CMySQLHandle::SaveActiveResult - active cache was already saved
[10:29:15] [WARNING] CMySQLHandle::SaveActiveResult - active cache was already saved
[10:29:15] [ERROR] CMySQLQuery::Execute - (error #1062) Duplicate entry '719' for key 'PRIMARY'
[10:29:15] [ERROR] CMySQLQuery::Execute - (error #1062) Duplicate entry '719' for key 'PRIMARY'
[10:29:15] [ERROR] CMySQLQuery::Execute - (error #1062) Duplicate entry '718' for key 'PRIMARY'
[10:29:15] [ERROR] CMySQLQuery::Execute - (error #1062) Duplicate entry '718' for key 'PRIMARY'
[10:29:15] [ERROR] CMySQLQuery::Execute - (error #1062) Duplicate entry '720' for key 'PRIMARY'
[10:29:15] [ERROR] CMySQLQuery::Execute - (error #1062) Duplicate entry '720' for key 'PRIMARY'
gde problema ?
__________________
TomIrish is offline   Reply With Quote
Old 07/11/2014, 10:59 AM   #18
Bombo
Huge Clucker
 
Bombo's Avatar
 
Join Date: Jun 2012
Posts: 285
Reputation: 76
Default Re: DayZ+

Quote:
Originally Posted by TomIrish View Post
Sorry, nevizu cto tut napisano. Mozes translitom napisat? Ja zagruzil SQL na localhost s Wamp i sdelal tokije parametry v defines.inc

Sohranil i potom skompiliroval menu.pwn i amx zabrosil v filterscripts. Kogda zapuskaju polucaetsa eto.

gde problema ?
No problem.
Odna iz tabliz obnovlyaetsja pri zapuske servera, i nekotorije polya s unikal'nim kluchom dublirujutsyja. Nichego strashnogo, tak i dolzhno bit'.

UPD: No such error messages (load_objects.inc is updated).

Last edited by Bombo; 07/11/2014 at 11:33 AM. Reason: load_objects.inc is updated
Bombo is offline   Reply With Quote
Old 07/11/2014, 11:36 AM   #19
Stepashka
Godfather
 
Stepashka's Avatar
 
Join Date: Jul 2008
Location: near PC
Posts: 5,467
Reputation: 135
Default Re: DayZ+

Quote:
Originally Posted by TomIrish View Post
Sorry, nevizu cto tut napisano.
__________________
Клятва Страуструпа: "Я обязуюсь прилежно комментировать свой код, не использовать goto и следить за состоянием своих потоков и выделяемой памяти. Я обязуюсь не оставлять мусора в системе и избегать однобуквенных переменных. Ресет." © Куч
M&M GM
Status: ON HOLD

Stepashka is offline   Reply With Quote
Old 08/11/2014, 06:17 PM   #20
Bombo
Huge Clucker
 
Bombo's Avatar
 
Join Date: Jun 2012
Posts: 285
Reputation: 76
Default Re: DayZ+

Тестовый сервер: botinform.com:7777

Last edited by Bombo; 17/11/2014 at 08:40 PM.
Bombo is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SA:MP DayZ Fabio_Ganza General 50 06/11/2014 02:50 PM
What should I buy? DayZ or CS:GO? dimitri8 Everything and Nothing 59 21/08/2014 02:55 PM


All times are GMT. The time now is 11:48 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.