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
storing / filtering massive items
Author Message
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #11
RE: storing / filtering massive items
i did it this way xD

dtext x y color <STRTOUPPER <STRSUB 0 1 <serv.itemdef.<local.argv>.name>>><strsub 1 <eval STRLEN(<serv.itemdef.<local.argv>.name>)> <serv.itemdef.<local.argv>.name>>
(This post was last modified: 07-09-2014 11:25 AM by kn4tseb.)
07-09-2014 11:24 AM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #12
RE: storing / filtering massive items
Hahahaha if you think I worried about brazilian team, I have to say SORRY, I am not.
HAHHAHAHA
The best cup of the cups! The host losing by 7x1 is awesome! Suck Dilma(president)!

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
07-09-2014 11:36 AM
Find all posts by this user Like Post Quote this message in a reply
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #13
RE: storing / filtering massive items
im not saying if you are worried or not, but i do sorry because as a southamerican i really wanted them to win this match and a southamerican team winning the cup, no matter if it is brazil or argentina, and its nothing against euro teams, but they have had the last two ones... whatever happens now in social matters will be a consecuense for what some people did good or wrong, brazil is an awesome country with awesome people, a God's beloved country. Justice will be brought up.
07-09-2014 12:57 PM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #14
RE: storing / filtering massive items
Good words Big Grin

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
07-09-2014 01:08 PM
Find all posts by this user Like Post Quote this message in a reply
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #15
RE: storing / filtering massive items
is it possible to make a reference from a Dialog text to its dialog button?
for example
[dialog mydialog]
blabla
local.bla=<SOMETHINGTOSTORE>
dtext x y hue <local.bla>
button x y gump1 gump2 1 0 id

[dialog mydialog button]
ON=id
if <local.bla> <--------
code
endif


there is no arguments for texts/dtexts.... all i can think for now is a textexntrylimited limited to 0, but dunno if that would work..
is it possible to make something to access an specific text/dtext ??? like adding ids for them too?

SDIALOG dialog_id, page, parameters

what are the parameters for sdialogs?
(This post was last modified: 07-09-2014 03:46 PM by kn4tseb.)
07-09-2014 02:51 PM
Find all posts by this user Like Post Quote this message in a reply
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #16
RE: storing / filtering massive items
Okey i think its not possible >.< anyone please??? :< from [dialog mydialog button]
ONButtton=id i need to take a reference to a text/dtext. and i cant figure it
07-10-2014 03:01 AM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #17
RE: storing / filtering massive items
When you use dtextentry you set the ID, right? Its the <ARGTXT[ID]>.
If you use 'dtextentry bla bla <somethingstostore>'
When you press the button <ARGTXT[ID]> will be the <somethingtostore>

Parameters on dialog only for PAGE redirection.

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
07-10-2014 05:08 AM
Find all posts by this user Like Post Quote this message in a reply
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #18
RE: storing / filtering massive items
Okey, thank you ! Wink
07-10-2014 10:09 AM
Find all posts by this user Like Post Quote this message in a reply
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #19
RE: storing / filtering massive items
guys i need help again Confused

community scripts include sphere_items_armor_color.scp

i need to find the way to store for example the baseid of all items with the word ROSE as itemdef/defname
as they are custom made items, their ID is for the inhereted base item, so i cannot use the ID number to search them in a FOR loop (if is possible, i dont know how).

could you guys please help me a bit?

for example
IF STRMATCH(*rose*,<serv.??????>) // due that the baseid is what i am looking for <serv.itemdef.xxxxxxx> wont work cause thats what im trying to store xdd


i dont know if i made myself clear, hope i did.
Thank you very much!
(This post was last modified: 07-12-2014 05:59 AM by kn4tseb.)
07-12-2014 05:47 AM
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: #20
RE: storing / filtering massive items
Code:
<serv.itemdef.<xx>.defname> //should display the i_item_defname

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

Marchadium :: http://www.marchadium.ca/ :: Join us!
07-12-2014 06:05 AM
Visit this user's website 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)