AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   It is possible to load mapcycle array? (https://forums.alliedmods.net/showthread.php?t=295875)

^SmileY 04-07-2017 08:58

It is possible to load mapcycle array?
 
It is possible to load mapcycle.txt with new natives from 1.8.3?
I mean, find array in some class, that is loaded from this file??

OciXCrom 04-07-2017 09:35

Re: It is possible to load mapcycle array?
 
fopen("mapcycle.txt") ?!

^SmileY 04-07-2017 17:48

Re: It is possible to load mapcycle array?
 
Quote:

Originally Posted by OciXCrom (Post 2510064)
fopen("mapcycle.txt") ?!

No, i mean using gamedata (And without manual open).
I guess that orpheu or something that work with memory can done this.

fysiks 04-07-2017 18:44

Re: It is possible to load mapcycle array?
 
What purpose would this serve?

klippy 04-07-2017 19:55

Re: It is possible to load mapcycle array?
 
I think he wants to retrieve the mapcycle directly from the game, because it's managed by CS in some way IIRC.
Even if it's possible to retrieve the pointer to the mapcycle structure from g_pGameRules (if there is one, will take a look later maybe), I don't think you can do much without Okapi or Orpheu memory natives.

^SmileY 04-07-2017 21:08

Re: It is possible to load mapcycle array?
 
Quote:

Originally Posted by KliPPy (Post 2510224)
I think he wants to retrieve the mapcycle directly from the game, because it's managed by CS in some way IIRC.
Even if it's possible to retrieve the pointer to the mapcycle structure from g_pGameRules (if there is one, will take a look later maybe), I don't think you can do much without Okapi or Orpheu memory natives.

Yes, like we use get_pdata_* or something else.
I guess that can open ports to retrieve a lot of variables from server. MapCycle.txt, banned ids, and others.


All times are GMT -4. The time now is 18:01.

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