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:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ARGO's Guildstone MoreY?
Author Message
x77x
Master
**

Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4



Post: #1
ARGO's Guildstone MoreY?
im trying to add 1 to a argo's guilstone morey...

Code:
ARGO.MEMORYFINDTYPE.0600.UID.MOREY=(<ARGO.MEMORYFINDTYPE.0600.UID.MOREY>+1)//ADDS 1 DEATH TO STONE

whats the 0600?
ive seen 0400 too, whats 0400?

ideas?



heres the entire thing
Code:
[EVENTS e_armylife_wei]
//ARGO character that got killed
//SRC character that killed
ON=@Kill
IF (<ARGO.ISPLAYER>) && (<ARGO.TAG0.MILITARY>) && !STRMATCH("<ARGO.TAG.ARMY>","<SRC.TAG.ARMY>")
OBJ <UID.040004000>
OBJ.MOREX=(<OBJ.MOREX>+1)//ADDS 1 KILL TO SRC's GUILDSTONE
SRC.TAG.ARMYKILLS <SRC.TAG.ARMYKILLS>+1//ADDS 1 KILL TO SRC
//
//<argo.memoryfindtype.<def0.memory_guild>.uid>
ARGO.MEMORYFINDTYPE.0600.UID.MOREY=(<ARGO.MEMORYFINDTYPE.0600.UID.MOREY>+1)//ADDS 1 DEATH TO ARGO's GUILDSTONE
ARGO.TAG.ARMYDEATHS <ARGO.TAG.ARMYDEATHS>+1//ADDS 1 DEATH TO ARGO's GUILDSTONE
//
SRC.GUILD.ALLMEMBERS -1,SYSMESSAGE @021 <SRC.NAME> has killed <ARGO.NAME> [<ARGO.MEMORYFINDTYPE.0600.NAME>]
ARGO.GUILD.ALLMEMBERS -1,SYSMESSAGE @021 <ARGO.NAME> has been killed by <SRC.NAME> [<SRC.MEMORYFINDTYPE.0600.NAME>]
RETURN 1
ELSE
RETURN 1
ENDIF

if i could do that for the argo and the src, i could use one script instead of specific ones...

Dragons of Time 2000-2020
http://dragonsoftime.com
(This post was last modified: 11-25-2015 10:15 AM by x77x.)
11-25-2015 08:32 AM
Find all posts by this user Like Post Quote this message in a reply
azmanomer
Journeyman
*

Posts: 139
Likes Given: 4
Likes Received: 18 in 16 posts
Joined: Nov 2013
Reputation: 1



Post: #2
RE: ARGO's Guildstone MoreY?
[DEFNAME mem_flags]
memory_sawcrime 00001 // i saw them commit a crime or i was attacked criminally. i can call the guards on them.
memory_ipet 00002 // i am a pet. (this link is my master) (never time out)
memory_fight 00004 // active fight going on now. may not have done any damage.
memory_iaggressor 00008 // i was the agressor here. (good or evil)
memory_harmedby 00010 // i was attacked by them. (but they may have been retaliating)
memory_irritatedby 00020 // i saw them snoop from me or someone.
memory_speak 00040 // we spoke about something at some point. (or was tamed) (npc_mem_act_type)
memory_aggreived 00080 // i was attacked and was the inocent party here !
memory_guard 00100 // guard this item (never time out)
memory_ispawned 00200 // UNUSED!!!! i am spawned from this item. (never time out)
memory_guild 00400 // this is my guild stone. (never time out)
memory_town 00800 // this is my town stone. (never time out)
memory_follow 01000 // UNUSED!!!! i am following this object (never time out)
memory_war_targ 02000 // this is one of my current war targets.
memory_friend 04000
memory_gumprecord 08000 // UNUSED!!!! i've a gump opened TAG.DIALOG_NAME contain the name of the gump
11-25-2015 12:58 PM
Find all posts by this user Like Post Quote this message in a reply
x77x
Master
**

Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4



Post: #3
RE: ARGO's Guildstone MoreY?
so what the right way?

Code:
ARGO.MEMORYFINDTYPE.0400.UID.MOREY=(<ARGO.MEMORYFINDTYPE.0400.UID.MOREY>+1)//ADDS 1 DEATH TO ARGO's GUILDSTONE

i tried that, it didnt work
and i tried

Code:
ARGO.MEMORYFINDTYPE.0400.MOREY=(<ARGO.MEMORYFINDTYPE.0400.MOREY>+1)//ADDS 1 DEATH TO ARGO's GUILDSTONE

didnt work

Dragons of Time 2000-2020
http://dragonsoftime.com
(This post was last modified: 11-25-2015 01:57 PM by x77x.)
11-25-2015 01:02 PM
Find all posts by this user Like Post Quote this message in a reply
Artyk
Journeyman
*

Posts: 75
Likes Given: 43
Likes Received: 9 in 9 posts
Joined: Sep 2014
Reputation: 0



Post: #4
RE: ARGO's Guildstone MoreY?
I don't know if it is right, can't try at the moment

ARGO.MEMORYFINDTYPE.memory_guild.LINK.MOREY+=1
11-25-2015 05:49 PM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #5
RE: ARGO's Guildstone MoreY?
To get Guild use something like REF1=<ARGO.GUILD>, then IF (<REF1>) -> REF1.MOREY +=1
11-25-2015 09:13 PM
Find all posts by this user Like Post Quote this message in a reply
x77x
Master
**

Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4



Post: #6
RE: ARGO's Guildstone MoreY?
Code:
REF1=<SRC.GUILD>
REF1.MOREX=(<REF1.MOREX>+1)//ADDS 1 KILL TO SRC's GUILDSTONE
SRC.TAG.ARMYKILLS <SRC.TAG.ARMYKILLS>+1//ADDS 1 KILL TO SRC
//
REF2=<ARGO.GUILD>
REF2.MOREY=(<REF2.MOREY>+1)//ADDS 1 DEATH TO ARGO's GUILDSTONE
ARGO.TAG.ARMYDEATHS <ARGO.TAG.ARMYDEATHS>+1//ADDS 1 DEATH TO ARGO

works.... BUT

06:26:WARNING:1:Unknown game packet (0x50) received.



Code:
REF1=<SRC.GUILD>
REF1.MOREX += 1
SRC.TAG.ARMYKILLS <SRC.TAG.ARMYKILLS>+1//ADDS 1 KILL TO SRC
//
REF2=<ARGO.GUILD>
REF2.MOREY += 1
ARGO.TAG.ARMYDEATHS <ARGO.TAG.ARMYDEATHS>+1//ADDS 1 DEATH TO ARGO

i get
06:30:WARNING:1:Unknown game packet (0x82) received.


Code:
REF1=<SRC.GUILD>
REF1.MOREX += 1
SRC.TAG.ARMYKILLS += 1
//
REF2=<ARGO.GUILD>
REF2.MOREY += 1
ARGO.TAG.ARMYDEATHS += 1

i get
06:35:WARNING:3:Unknown game packet (0x6e) received.

Dragons of Time 2000-2020
http://dragonsoftime.com
(This post was last modified: 11-25-2015 09:39 PM by x77x.)
11-25-2015 09:21 PM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #7
RE: ARGO's Guildstone MoreY?
Code:
REF1=<SRC.GUILD>
IF (<REF1>)
REF1.MOREX=(<REF1.MOREX>+1)//ADDS 1 KILL TO SRC's GUILDSTONE
ENDIF
SRC.TAG.ARMYKILLS <SRC.TAG.ARMYKILLS>+1//ADDS 1 KILL TO SRC
//
REF2=<ARGO.GUILD>
IF (<REF2>)
REF2.MOREY=(<REF2.MOREY>+1)//ADDS 1 DEATH TO ARGO's GUILDSTONE
ENDIF
ARGO.TAG.ARMYDEATHS <ARGO.TAG.ARMYDEATHS>+1//ADDS 1 DEATH TO ARGO

Same for the rest.

Are you using any NETWORK* setting from the ini?
11-25-2015 10:44 PM
Find all posts by this user Like Post Quote this message in a reply
x77x
Master
**

Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4



Post: #8
RE: ARGO's Guildstone MoreY?
all networks settings are default...


the above works! no errors... thank you =)

Dragons of Time 2000-2020
http://dragonsoftime.com
(This post was last modified: 11-26-2015 03:07 AM by x77x.)
11-26-2015 03:01 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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