Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
home cannot be transferred
Author Message
Coruja
Sphere Developer
*****

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

Dimension Shard

Post: #6
RE: home cannot be transferred
I was about to request you this script to take a look, but then I realized that this code seems to be like a script that I made about a decade ago, I found a old copy here and it is exactly what I thought lol

This script have a workaround function to manually open the trade window creating a t_eq_trade_window container to equip it on char and use SENDPACKET to open the gump. But this is not needed anymore because now this can be done using OPENTRADEWINDOW function. I don't remember the name of this old workaround function (maybe [FUNCTION TradeWindow] or something like this) but you must delete it from the script and use OPENTRADEWINDOW instead

Code:
[DIALOG d_house_transfer BUTTON]
ON=0 1
REF1=<CTAG0.HOUSE.TRANSFER>
CTAG0.HOUSE.TRANSFER=
IF (<ARGN>==1)
  ...
  SERV.NEWITEM i_deed
  NEW.ATTR=attr_move_never
  NEW.COLOR=0480
  NEW.LINK=<REF1>
  NEW.MORE1=<SRC>
  NEW.TYPE=t_trade_house_deed
  OPENTRADEWINDOW <SRC>,<NEW>      // <-------
ENDIF
02-28-2020 04:55 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
home cannot be transferred - Satvet - 02-18-2020, 06:05 PM
RE: home cannot be transferred - Coruja - 02-21-2020, 01:24 PM
RE: home cannot be transferred - Satvet - 02-21-2020, 08:54 PM
RE: home cannot be transferred - Coruja - 02-22-2020, 10:22 AM
RE: home cannot be transferred - Satvet - 02-27-2020, 06:12 PM
RE: home cannot be transferred - Coruja - 02-28-2020 04:55 PM
RE: home cannot be transferred - Satvet - 03-05-2020, 03:16 AM

Forum Jump:


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