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
Problem with Quest Button
Author Message
victorstelzer
Journeyman
*

Posts: 80
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jun 2012
Reputation: 0



Post: #1
Problem with Quest Button
When you click the quest, the option does not appear


Attached File(s) Thumbnail(s)
   
(This post was last modified: 07-12-2012 10:55 AM by victorstelzer.)
07-12-2012 10:55 AM
Find all posts by this user Like Post Quote this message in a reply
WRWR
Journeyman
*

Posts: 212
Likes Given: 30
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 1



Post: #2
RE: Problem with Quest Button
add your own dialog to
ON=@UserQuestButton
07-12-2012 05:07 PM
Find all posts by this user Like Post Quote this message in a reply
Skul
Master
**

Posts: 413
Likes Given: 0
Likes Received: 19 in 15 posts
Joined: Jun 2012
Reputation: 9



Post: #3
RE: Problem with Quest Button
The feature is incomplete, you have to find or code a quest system of your own.

"I ask a question to the answer I already know."

Marchadium :: http://www.marchadium.ca/ :: Join us!
07-14-2012 12:57 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Anarch Cassius
Master
**

Posts: 273
Likes Given: 19
Likes Received: 10 in 9 posts
Joined: Mar 2012
Reputation: 2



Post: #4
RE: Problem with Quest Button
There is one in the SCP that is quite good.
07-14-2012 05:16 AM
Find all posts by this user Like Post Quote this message in a reply
victorstelzer
Journeyman
*

Posts: 80
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jun 2012
Reputation: 0



Post: #5
RE: Problem with Quest Button
How to make dialog

[FUNCTION questbutton]
SDIALOG button
ON = @ UserQuestButton


Attached File(s)
.scp  QuestSys.SCP (Size: 38.06 KB / Downloads: 26)
07-14-2012 11:42 AM
Find all posts by this user Like Post Quote this message in a reply
Alias
Journeyman
*

Posts: 107
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2012
Reputation: 0



Post: #6
RE: Problem with Quest Button
Hi, i have problem with slaying quest i try this one, but it doesnt give me +1 kill when i kill Salvia or Dryad ... Confused

QUEST_4_NAMELOCALIZED 1074433 //Bound to the Land
QUEST_4_TEXTLOCALIZED 1074434 //Quest history
QUEST_4_TEXTCOMPLETELOCALIZED 1074437
QUEST_4_TEXTUNCOMPLETELOCALIZED 1074435
QUEST_4_TEXTREFUSELOCALIZED 1074436
QUEST_4_OBJECTIVEAMOUNT 2
QUEST_4_OBJECTIVE1_TYPE 2
QUEST_4_OBJECTIVE1 12 c_dryad
QUEST_4_OBJECTIVE2_TYPE 2
QUEST_4_OBJECTIVE2 1 c_saliva
QUEST_4_PRIZES 1
QUEST_4_PRIZETYPE1 1 //item
QUEST_4_PRIZEID1 i_dryads_blessing Dryad's Blessing.
07-15-2012 07:46 PM
Find all posts by this user Like Post Quote this message in a reply
RanXerox
Master
**

Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19



Post: #7
RE: Problem with Quest Button
Did you read the instructions?

Step 3: Add
EventsPet=e_quest_kill_fix
to sphere.ini under //Events related to all NPCs
07-16-2012 02:34 AM
Find all posts by this user Like Post Quote this message in a reply
Alias
Journeyman
*

Posts: 107
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2012
Reputation: 0



Post: #8
RE: Problem with Quest Button
(07-16-2012 02:34 AM)RanXerox Wrote:  Did you read the instructions?

Step 3: Add
EventsPet=e_quest_kill_fix
to sphere.ini under //Events related to all NPCs
Where to find this event becouse i dont have it anywhere ...
Thanks.
07-16-2012 05:21 AM
Find all posts by this user Like Post Quote this message in a reply
RanXerox
Master
**

Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19



Post: #9
RE: Problem with Quest Button
07-16-2012 07:52 AM
Find all posts by this user Like Post Quote this message in a reply
Alias
Journeyman
*

Posts: 107
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2012
Reputation: 0



Post: #10
RE: Problem with Quest Button
(07-16-2012 07:52 AM)RanXerox Wrote:  http://code.google.com/p/sphere-communit...ts_npc.scp
Is this right ? If so than something else isnt working for me ...
Code:
[EVENTS e_quest_npc_fix]

on=@death
ref42 = <attacker.max>
if (<ref42.tag0.quests>)
    for <ref42.tag0.quests>
        for x 1 <def.quest_<ref42.dtag0.quest<dlocal._for>.id>_objectiveamount>
            if <def.quest_<ref42.dtag0.quest<dlocal._for>.id>_objective<dlocal.x>_type> == 2
                if (<baseid> == <streat <def.quest_<ref42.dtag0.quest<dlocal._for>.id>_objective<dlocal.x>>>)
                    if (<ref42.tag0.quest<dlocal._for>.slay<streat <def.quest_<dtag0.quest<dlocal._for>.id>_objective<dlocal.x>>>>)
                        if !(<isempty <def.quest_<ref42.dtag0.quest<dlocal._for>.id>_objective<dlocal.x>_location>>)
                            if (strmatch(*<def.quest_<dtag0.quest<dlocal._for>.id>_objective<dlocal.x>_location>*,<region.name>))
                            ref42.tag.quest<dlocal._for>.slay<streat <def.quest_<dtag0.quest<dlocal._for>.id>_objective<dlocal.x>>> --
                            endif
                        else
                        ref42.tag.quest<dlocal._for>.slay<streat <def.quest_<dtag0.quest<dlocal._for>.id>_objective<dlocal.x>>> --
                        endif
                        if !(<ref42.tag0.quest<dlocal._for>.slay<streat <def.quest_<ref42.dtag0.quest<dlocal._for>.id>_objective<dlocal.x>>>>)
                        sysmessage <def.scp.quest_complete>
                        else
                        sysmessage @,,2 1075051,<ref42.dtag0.quest<dlocal._for>.slay<streat <def.quest_<ref42.dtag0.quest<dlocal._for>.id>_objective<dlocal.x>>>>
                        endif
                    endif
                endif
            endif
        endfor
    endfor
endif

on=@deathcorpse
ref94 = <attacker.max>
if <ref94.tag0.quests>
    for x 1 <ref94.tag0.quests>
        for y 1 <def.quest_<ref94.dtag0.quest<dlocal.x>.id>_objectiveamount>
            if <def.quest_<ref94.dtag0.quest<dlocal.x>.id>_objective<dlocal.y>_type> == 6
                if <baseid> == <streat <def.quest_<ref94.dtag0.quest<dlocal.x>.id>_objective<dlocal.y>>>
                    if <isempty <def.quest_<ref94.dtag0.quest<dlocal.x>.id>_objective<dlocal.y>_location>>
                    ref94.f_quest_gotitem <uid>,<local.x>,<local.y>
                    else
                        if (strmatch(<ref94.region.name>,*<def.quest_<ref94.dtag0.quest<dlocal.x>.id>_objective<dlocal.y>_location>*))
                        ref94.f_quest_gotitem <uid>,<local.x>,<local.y>
                        endif
                    endif
                endif
            endif
        endfor
    endfor
endif

[EOF]
07-16-2012 06:54 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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