Raised This Month: $12 Target: $400
 3% 

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: Tirant
Forum: Scripting 05-30-2016, 06:41
Replies: 11
Views: 2,953
Posted By Tirant
Re: Returning null handle in native

It's certainly an interesting behavior, unique to the typelessness of SourcePawn and how the native API works. In other languages, null could not be used in this context (doesn't make sense to cast a...
Forum: Scripting 05-28-2016, 19:24
Replies: 11
Views: 2,953
Posted By Tirant
Returning null handle in native

I'm learning how to write natives, and I would like to have a native return a handle. My use-case is that I would either like to return a null ArrayList handle (0) in the case that the source handle...
Forum: Module Coding 09-25-2015, 01:47
Replies: 25
Views: 8,415
Posted By Tirant
Re: Compiling AMXX Module

I think it's ready for someone to take a look at it. Please let me know any questions, comments, improvements, ideas that you have, or changes that you think should be made.
...
Forum: Module Coding 09-24-2015, 23:18
Replies: 25
Views: 8,415
Posted By Tirant
Re: Compiling AMXX Module

Thank you for your suggestion, that did the trick.
Forum: Module Coding 09-24-2015, 11:09
Replies: 25
Views: 8,415
Posted By Tirant
Re: Compiling AMXX Module

It looks like you may be correct about amx get string.

github.com/collinsmith/amxmodx (master)
Forum: Module Coding 09-24-2015, 03:56
Replies: 25
Views: 8,415
Posted By Tirant
Re: Compiling AMXX Module

I'm encountering an issue where variables from a separate plugin seems to infecting another. In the attached screenshot, I have one forward which prints the parameters, and in another I am operating...
Forum: Module Coding 09-23-2015, 03:44
Replies: 25
Views: 8,415
Posted By Tirant
Re: Compiling AMXX Module

I added stack traces. I'm going to look at it a bit more to see if there any obvious improvements, but I think it's ready for a pull request.

I am also working on adding a cvar manager to manage...
Forum: Module Coding 09-21-2015, 02:18
Replies: 25
Views: 8,415
Posted By Tirant
Re: Compiling AMXX Module

I just finished integrating it. I really wasn't that bad. I'm going to work on adding the stack traces tomorrow.
Forum: Module Coding 09-21-2015, 01:58
Replies: 25
Views: 8,415
Posted By Tirant
Re: Compiling AMXX Module

I know. I require most if not all of the debugging classes, which don't seem to be exported. I can cut out the classes, similar to what I have done for CPlugin, but there seem to be significantly...
Forum: Module Coding 09-21-2015, 01:26
Replies: 25
Views: 8,415
Posted By Tirant
Re: Compiling AMXX Module

I think that I will merge this module with the core AMXX in order to get the visibility I need to those functions. I think that's just a better change overall, because I've already had to copy over...
Forum: Module Coding 09-18-2015, 16:50
Replies: 25
Views: 8,415
Posted By Tirant
Re: Compiling AMXX Module

Not yet. I should be able to create one from a pointer somewhere though. This mod should be compatible with the current amxx build, so I might create a pull request if people want it added. If it was...
Forum: Module Coding 09-18-2015, 03:37
Replies: 25
Views: 8,415
Posted By Tirant
Re: Compiling AMXX Module

Just like to keep people updated :)

I'm really looking for ideas or what other people want too. I'm trying not to base this completely around just my own needs and create something that is...
Forum: Module Coding 09-17-2015, 04:47
Replies: 25
Views: 8,415
Posted By Tirant
Re: Compiling AMXX Module

It's a lot cleaner now that I've re-written the printf-like-logic. I decided to go with a different method which parses the string and then uses the same log based on the printf flags. This should be...
Forum: Module Coding 09-16-2015, 01:49
Replies: 25
Views: 8,415
Posted By Tirant
Re: Compiling AMXX Module

I was able to implement printf-like specifiers. The logic was a bit complicated, but assuming there aren't any bugs, it should be very efficient.

[%5s] [%-6.4t] %n::%f %l
[ INFO] [22:5 ]...
Forum: Module Coding 09-15-2015, 03:51
Replies: 25
Views: 8,415
Posted By Tirant
Re: Compiling AMXX Module

I cleaned up the algorithm a lot to remove formatted C strings. This should greatly increase the overall speed, and allowed for me to remove some unnecessary complexities (e.g., caching argument...
Forum: Module Coding 09-15-2015, 01:03
Replies: 25
Views: 8,415
Posted By Tirant
Re: Compiling AMXX Module

I was able to successfully implement my idea. The code started getting a bit ugly because I didn't write any new functions to assist with the copying, but it works. Next step is to clean up what I've...
Forum: Module Coding 09-14-2015, 02:37
Replies: 25
Views: 8,415
Posted By Tirant
Re: Compiling AMXX Module

I made a lot of progress. I decided to use a static array of up to 16 arguments (should be more than enough, but I might still change this to a vector for infinitely many arguments). I chose to take...
Forum: Module Coding 09-13-2015, 17:21
Replies: 25
Views: 8,415
Posted By Tirant
Re: Compiling AMXX Module

I'm running into a problem trying to express something that's beyond my basic knowledge of C++.

For my module I would like to add custom message formatting to maximize flexibility and the...
Forum: Module Coding 09-12-2015, 05:27
Replies: 25
Views: 8,415
Posted By Tirant
Re: Compiling AMXX Module

Something that has really helped me is looking at what over people have done. For instance, your own modules and looking at how the AMXX modules are built. It's just a bit tricky to get the initial...
Forum: Module Coding 09-12-2015, 05:20
Replies: 25
Views: 8,415
Posted By Tirant
Re: Compiling AMXX Module

Thanks, I'll take a look as soon as I get a chance. I got it to the point where I can at least compile it now :)

I started copying over many of the settings that AMXX was using in its project.
Forum: Module Coding 09-12-2015, 02:33
Replies: 25
Views: 8,415
Posted By Tirant
Re: Compiling AMXX Module

I was able to resolve the above issue by adding the following to my cpp file:

#define HAVE_STDINT_H

I am now seeing another issue which I am looking into. It may be due to a missing header...
Forum: Module Coding 09-12-2015, 00:48
Replies: 25
Views: 8,415
Posted By Tirant
Compiling AMXX Module

I'm trying to compile my module, but I'm seeing the below error messages. I have not modified this section within the amxxmodule header or source, so I'm confused on why it is occurring. Commenting...
Forum: Approved Plugins 01-05-2014, 20:29
Replies: 1,141
Views: 983,623
Posted By Tirant
Re: Base Builder Zombie Mod v6.5 [01/15/2011]

You have to download the zip containing the source code, place it into your .\amxmodx\source folder (wherever you installed amxmodx, in my case, either my dedicated server or within my cstrike folder...
Forum: Approved Plugins 09-27-2013, 15:07
Replies: 1,141
Views: 983,623
Posted By Tirant
Re: Base Builder Zombie Mod v6.5 [01/15/2011]

Make sure color chat is included within the SMA (it should have been provided already). If you have a different version of color chat (meaning you didn't overwrite it) then you may have to change the...
Forum: Approved Plugins 09-27-2013, 15:06
Replies: 1,141
Views: 983,623
Posted By Tirant
Re: Base Builder Zombie Mod v6.5 [01/15/2011]

This isn't my version, so I cannot help you.
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 07:43.


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