AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Advanced Coder needed (Run a server on older date) (https://forums.alliedmods.net/showthread.php?t=126378)

Rirre 05-08-2010 19:38

Advanced Coder needed (Run a server on older date)
 
I don't know if this is possible, but I would like to roll back a game server time (like a time machine).
While the server change map and when the new map have loaded, change back to the current date.
I would like to set the game server time back to specified date (like 24th April as example) when the game server change map and back to the current date when the new map is loaded.

I don't think this could be done with a AMXX plugin.
Since game servers go after OS system time. I have no idea if this could be done with a metamod plugin.
I hope this could be done with atleast a metamod plugin.

If not, any more ideas how to do this?

Why I want to do this is for avoid a old AMXX plugin which is compiled with expiration. Which go after the OS system time.
It works perfectly if I sets the OS system time back to a time before the specified expiration date.
I can't keep this old date because I use other stuff which go after OS system time also, so it have to reset back to the current date everytime.

Voi 05-08-2010 19:46

Re: Advanced Coder needed (Run a server at a past date)
 
Can you post it ? We could possibly hack it. Can you provide the source of the plugin(ie. from where you got it)?

edit:

When I ment source I was thinking from where did you get the amxx file :).

Rirre 05-08-2010 19:49

Re: Advanced Coder needed (Run a server on older date)
 
EDIT: It's not published.

fysiks 05-08-2010 21:25

Re: Advanced Coder needed (Run a server on older date)
 
Quote:

Originally Posted by Rirre (Post 1174943)
EDIT: It's not published.

Does that mean you don't have the source code?

wrecked_ 05-09-2010 01:09

Re: Advanced Coder needed (Run a server on older date)
 
Quote:

Originally Posted by Rirre (Post 1174935)
Why I want to do this is for avoid a old AMXX plugin which is compiled with expiration. Which go after the OS system time.
It works perfectly if I sets the OS system time back to a time before the specified expiration date.
I can't keep this old date because I use other stuff which go after OS system time also, so it have to reset back to the current date everytime.

Coders and even programmers outside of AMXX use this method to give a trial version to people; this allows them to judge the plugin and see if they want it. Based on this, I'm assuming someone gave you a trial before your (probably monetary) transaction and you're looking to rip them off, right?

Ripping someone off for all of their hard work is very demoralizing and you shouldn't do it. That's like robbing a mustache store, sampling a food at a food market where they give those small portions, and then coming back endlessly with a different stolen mustache on each time and wiping them clean out of the product; except much more asshole-ish and disrespectful. It's just not right.

However, if you're doing this for some other reason than ripping off someone's hard work and time, oops.

Rirre 05-09-2010 04:48

Re: Advanced Coder needed (Run a server on older date)
 
Here is the story I talked to Voi thru PM:
Quote:

Originally Posted by Rirre
Ok.
No, it's not banned at all.
The author was my scripter and we had a deal that he would share the source code of it when it have been done.
So, he integraded expiration time into the plugin for security reason (Example: If I were going to steal it, which I haven't or did).
And to the day when it was done. I was going to made a payment to his PayPal account while he left with his dad to play badminton or whatever it was. He told me he will send the source code when he see the payment on his PayPal account when he get back. I made the transaction, he did never get back after that. Saw him online on MSN after 1 week, I asked him if he got the payment. He told me: "Thanks" after 2 sec, he went offline (= blocked me).
I'm pissed off because of that and I would like to unlock what I've paid for now.

Quote:

Originally Posted by Voi
Well you can propably find support from ppl who are much more advanced in coding than me. Is this plugin banned from amxmodx forums ? Is this the reason you didn't post it ?


Quote:

Originally Posted by Voi
Quote:

Originally Posted by Rirre
$800 buck was the price for it.

YOUR FUCKING KIDDING!

I know this is against Open Source so I guess its my own fault.

Quote:

Originally Posted by wrecked_
Coders and even programmers outside of AMXX use this method to give a trial version to people; this allows them to judge the plugin and see if they want it. Based on this, I'm assuming someone gave you a trial before your (probably monetary) transaction and you're looking to rip them off, right?

Ripping someone off for all of their hard work is very demoralizing and you shouldn't do it. That's like robbing a mustache store, sampling a food at a food market where they give those small portions, and then coming back endlessly with a different stolen mustache on each time and wiping them clean out of the product; except much more asshole-ish and disrespectful. It's just not right.

However, if you're doing this for some other reason than ripping off someone's hard work and time, oops.

I fully respect them for giving me trial version, but I got scammed by this one as you can see.
I am mature enough to not steal anyones hard work when I'm the client.


EDIT: About sharing the .amxx file here:
I would like to play with it a bit by myself before I decide to publish it for my $800 bucks I've spend on this one.
It works like every plugin would do if its set to follow OS system time.

Hopeful someone here can still do something about this from my mistake.

Sylwester 05-09-2010 06:23

Re: Advanced Coder needed (Run a server on older date)
 
Can you post here or sent me via PM some details about plugin idea? I'm wondering what kind of plugin is it, since you agreed to pay so much for it...

Rirre 05-09-2010 06:47

Re: Advanced Coder needed (Run a server on older date)
 
Quote:

Originally Posted by Sylwester (Post 1175287)
Can you post here or sent me via PM some details about plugin idea? I'm wondering what kind of plugin is it, since you agreed to pay so much for it...

It's already enough detailed in the #1st post.
It's older and different author than stupok's AvH version.

Firippu 05-09-2010 07:12

Re: Advanced Coder needed (Run a server on older date)
 
Assuming that the plugin uses get_time() to get the server's date/time. What if you modify get_time() to make it return the same date/time each time it's called. I think you'll have to recompile amxmodx though; not sure.

ConnorMcLeod 05-09-2010 07:33

Re: Advanced Coder needed (Run a server on older date)
 
What does the plugin do ?


All times are GMT -4. The time now is 03:40.

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