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
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trade Window packet problems (Secure Trade)
Author Message
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #1
Trade Window packet problems (Secure Trade)
Code:
[FUNCTION TradeWindow]
REF3=<ARGS>
FOR 2
  SERV.NEWITEM i_bulletin_board
  NEW.TYPE t_eq_trade_window
  REF<LOCAL._FOR>=<NEW>
ENDFOR
REF1.LINK=<REF2>
REF2.LINK=<REF1>
IF (<REF3>)
  REF3.CONT=<REF1>
ENDIF
SRC.EQUIP <REF1>
EQUIP <REF2>
SRC.SENDPACKET 06F W02F 00 D<UID> D<REF1> D<REF2> 01 <ASCPAD 30,<NAME>>
SENDPACKET 06F W02F 00 D<SRC> D<REF2> D<REF1> 01 <ASCPAD 30,<SRC.NAME>>
usage:
-TradeWindow (just open an empty trade)
-TradeWindow <item uid> (to open a window trading this item)

the problem is, this function used to work fine until some time ago. Suddenly stop working after some sphere builds update, I dont know why

opening the empty trade window will works fine, but if the script tries to open the trade window with some item it will open a "empty" window where the item exists but its not shown

Comparing to the packet guide http://docs.polserver.com/packets/index.php?Packet=0x6F everything is fine (I think). So someone know whats wrong? Any sphere developer could check if the packet match the sphere internal trade window packet plz?
(This post was last modified: 07-28-2013 09:31 AM by Coruja.)
07-28-2013 09:31 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Trade Window packet problems (Secure Trade) - Coruja - 07-28-2013 09:31 AM

Forum Jump:


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