Help with TravTrie.
I'm realy confusing at using celltravtrie library, i have some questions:
- In my code i use TrieKeyExists native to check if exist an Key exist on the g_tBlock var, but i create g_tBlock using TravTrie, is giving me an warning with Tag Mismach, but working compile and working scan if key exist. I should let how is it or exist anoter native who replace that for TravTrie library? - How to use Iterator to save key in trie when map changed? That's realy confuse for me. * I realy wanna learn how to use TravTrie, seems realy useful and i wanna use on future, thanks :D Here's the code: Code:
#include <amxmodx> |
Re: Help with TravTrie.
Bump :D
|
Re: Help with TravTrie.
You should just tag it:
PHP Code:
PHP Code:
Also, doing pev_valid(id) is dumb. Quote:
|
Re: Help with TravTrie.
About tries ... Maybe i'm wrong but only TRIES are deleted on map change, that's why i'm using TravTrie for saving tries on map change( i know how to work with normal tries, i've problems only with TravTries ).
But i don't test yet your code ... after test i come back with an answer, anyway, thanks for making time to answer :) |
Re: Help with TravTrie.
Quote:
|
Re: Help with TravTrie.
TravTries get released at mapchange too. TravTries are just a hack, they are just a data structure having both CellArrays and CellTries under the hood.
|
Re: Help with TravTrie.
ok, thanks guys, i will use vaults for saving data on map change as hamlet(and addonzz) said.
|
| All times are GMT -4. The time now is 09:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.