The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Duel system
Author Message
an0n!m0use
Journeyman
*

Posts: 56
Likes Given: 16
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 0



Post: #3
Information RE: Duel system
(03-21-2016 03:34 AM)rastrero Wrote:  not enought info for helping you.
Example: You have 2 stones - i_arena_first and i_arena_second
and one function for two stones: [FUNCTION f_select_opponent] and one [ITEMDEF i_duel_memory]
If [ITEMDEF i_arena_first] - first stone, first player go to ARENA_1_1 coordinates, and second to other ARENA_1_2 coordinates ...

If this [ITEMDEF i_arena_second] frst player go to ARENA_2_1 and second player go to ARENA_2_2

PHP Code:
[DEFNAME DEF_DUEL_CONFIG]
ARENA_1_1       1234,1234 // its coordinates for i_arena_first
ARENA_1_2         4321,4321

ARENA_2_1       5678
,5678 // its for i_arena_second
ARENA_2_2        8765,8765 


I wanna know, it's real using one function for a lot of duel stones ... or i need write for every stone individual function ....

Quote:ARGO.EQUIP <NEW> // 15:47:ERROR: Undefined keyword 'ARGO.EQUIP'
Thx, but problem not solved Sad
(This post was last modified: 03-21-2016 06:00 AM by an0n!m0use.)
03-21-2016 05:36 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Duel system - an0n!m0use - 03-21-2016, 12:46 AM
RE: Duel system - rastrero - 03-21-2016, 03:34 AM
RE: Duel system - an0n!m0use - 03-21-2016 05:36 AM
RE: Duel system - rastrero - 03-23-2016, 09:45 PM
RE: Duel system - an0n!m0use - 03-24-2016, 08:11 AM
RE: Duel system - rastrero - 03-24-2016, 12:44 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)