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-nmm6 (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-nmm6 (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-nmm6 (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
How to (merge)
Author Message
seafish
Apprentice
*

Posts: 21
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2013
Reputation: 0



Post: #1
How to (merge)
Hello!
Tell me please I want to know, how to add:
Code:
ref1=<argo>
    local.more1=<ref1.more1>
    local.mob= <strsub 3 4 <local.more1>>
    local.mob= c_elem_<local.mob>
    call f_earth_mob_spawn

correctly to:

Code:
ON=@ResourceFound
IF (<SRC.Mining> >= 100.0) && (RAND(200)==1)
      ARGO.MORE=mr_mario
   ELIF (<SRC.Mining> >= 99.0) && (RAND(175)==2)
      ARGO.MORE=mr_pokemon
lalala
11-04-2013 04:55 AM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: How to (merge)
The first piece of code sets up elementals to be summoned when mining.
The second you have there sets a random chance of a different nintendo game character mining resource if the mining skill is met.

Not sure exactly what you are trying to achieve

[Image: 2nis46r.jpg]
11-04-2013 06:13 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
seafish
Apprentice
*

Posts: 21
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2013
Reputation: 0



Post: #3
RE: How to (merge)
heh, ye I would like to put first piece of code to second, its possible?
11-04-2013 06:24 AM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #4
RE: How to (merge)
given that both exist under the same trigger yes.
Though if you expect it to create an elemental for your new resources you will have to script the actual elemental so that it can be summoned, also it would be under more1 not more

[Image: 2nis46r.jpg]
11-04-2013 06:43 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
seafish
Apprentice
*

Posts: 21
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2013
Reputation: 0



Post: #5
RE: How to (merge)
thank you for respond!
11-04-2013 07:08 AM
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)