Raised This Month: $ Target: $400
 0% 

Tries


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
vitorrd
Senior Member
Join Date: Jul 2009
Old 10-11-2009 , 20:16   Tries
Reply With Quote #1

I tried looking for examples here and examples in the Code Tutorial section, but I didn't find anything objective on the subject of Tries. Is there any reference to be looked at (the funcwiki doesn't contain the Trie functions)? If not, would someone mind explaining the functions?

Note: I know what a Trie is and how it works, just need help with the API.

Thanks in advance.
vitorrd is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-11-2009 , 20:43   Re: Tries
Reply With Quote #2

See the Joaquim's plugin for advanced usage :

http://forums.alliedmods.net/showthread.php?p=891693
http://forums.alliedmods.net/showthread.php?p=867669
http://forums.alliedmods.net/showthread.php?p=832880

etc..

Connor uses Trie too in some plugins.

http://forums.alliedmods.net/showthread.php?p=806220

Exolent :

http://forums.alliedmods.net/showthread.php?t=87906


You have to note that Trie[Get|Set]Array don't work. Glitch in the source code.
__________________

Last edited by Arkshine; 10-11-2009 at 20:57.
Arkshine is offline
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 10-12-2009 , 05:25   Re: Tries
Reply With Quote #3

Trying to learn it from jumpstats may be too hard. Here is short plugin created by Exolent using Trie:
https://forums.alliedmods.net/showpo...02&postcount=5
__________________
Impossible is Nothing
Sylwester is offline
larito
Veteran Member
Join Date: Nov 2008
Location: Argentina- Mendoza
Old 10-12-2009 , 09:49   Re: Tries
Reply With Quote #4

I´ve a one question:
What´s the diferent between "TrieCreate" and "ArrayCreate"?
larito is offline
Send a message via MSN to larito
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 10-12-2009 , 09:52   Re: Tries
Reply With Quote #5

Quote:
Originally Posted by larito View Post
I´ve a one question:
What´s the diferent between "TrieCreate" and "ArrayCreate"?
The difference is that other creates a trie when other an array. See difference between trie and array here: http://forums.alliedmods.net/showthread.php?t=88396.
SnoW is offline
Send a message via MSN to SnoW
larito
Veteran Member
Join Date: Nov 2008
Location: Argentina- Mendoza
Old 10-12-2009 , 09:55   Re: Tries
Reply With Quote #6

ok, thank you
larito is offline
Send a message via MSN to larito
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:35.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode