AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Tries (https://forums.alliedmods.net/showthread.php?t=106121)

vitorrd 10-11-2009 20:16

Tries
 
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.

Arkshine 10-11-2009 20:43

Re: Tries
 
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.

Sylwester 10-12-2009 05:25

Re: Tries
 
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

larito 10-12-2009 09:49

Re: Tries
 
I´ve a one question:
What´s the diferent between "TrieCreate" and "ArrayCreate"?

SnoW 10-12-2009 09:52

Re: Tries
 
Quote:

Originally Posted by larito (Post 959737)
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.

larito 10-12-2009 09:55

Re: Tries
 
ok, thank you :D


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

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