Register for your free account! | Forgot your password?

You last visited: Today at 14:30

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Classic Source

Discussion on Classic Source within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2015
Posts: 17
Received Thanks: 0
Classic Source

im looking for some who can help me find a Classic Source .. Old jump, no ninjas, monks, dragon warriors.. i've been in Sticky Thread but when i try to set it up, it never runs..

i found Redux and it works fine for me but the thing is that there is no event also some skills need to code.. i dont know much in coding but if this source atleast have an event working.. i could make it as my reference but nothing..
this is too clean but the source is really great..

If ever someone out there willing to share his rewritten Redux or anything that has atleast 1 event running.. i'll appreciate it and give you a BIG THANKS!
NewbieKid is offline  
Old 12/14/2015, 08:56   #2
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,283
Received Thanks: 4,192
Quote:
Originally Posted by NewbieKid View Post
im looking for some who can help me find a Classic Source.. i've been in Sticky Thread but when i try to set it up, it never runs..

i found Redux and it works fine for me but the thing is that there is no event also some skills need to code.. i dont know much in coding but if this source atleast have an event working.. i could make it as my reference but nothing..
this is too clean but the source is really great..

If ever someone out there willing to share his rewritten Redux or anything that has atleast 1 event running.. i'll appreciate it and give you a BIG THANKS!
Coding demands are not allowed. Requests for sources are demands for code. Please don't do this. If you want, ask in the volunteer thread for if someone's interested in adding you to their team. Nobody wants to code for a person who they can do the work without. You're the side *****, at the moment.
Spirited is offline  
Old 12/14/2015, 11:19   #3
 
elite*gold: 0
Join Date: Dec 2015
Posts: 17
Received Thanks: 0
Quote:
Originally Posted by Spirited View Post
Coding demands are not allowed. Requests for sources are demands for code. Please don't do this. If you want, ask in the volunteer thread for if someone's interested in adding you to their team. Nobody wants to code for a person who they can do the work without. You're the side bitch, at the moment.
I just want to ask even 1 running event on Redux Source so I can have a reference,, im having a difficulties on how or where to add this code
Code:
 if (DateTime.Now.Minute == 30)
            {
                PlayerManager.SendToServer(new TalkPacket(ChatType.GM, "SAMPLE SYSTEM ANNOUNCEMENT "));

            }
into this WorldThread.cs
some tells me that this cs file will handle the System Announcement but i tried to put the code and run.. everywhere i add i try to run it but still it announce nothing..

Code:
using System;
using System.Collections.Generic;
using Redux.Packets.Game;
using Redux.Enum;
using System.Linq;
using System.Text;
using Redux.Managers;

namespace Redux.Threading
{
    public class WorldThread:ThreadBase 
    {

        private const int TIMER_OFFSET_LIMIT = 10;
        private const int THREAD_SPEED = 1000;
        private const int INTERVAL_EVENT = 60; 
        
        private long _nextTrigger;
        protected override void OnInit()
        {
            _nextTrigger = Common.Clock + THREAD_SPEED;
        }
        protected override bool OnProcess()
        {
            var curr = Common.Clock;
            if (curr >= _nextTrigger)
            {
                _nextTrigger += THREAD_SPEED;

                var offset = (curr - _nextTrigger) / Common.MS_PER_SECOND;
                if (Math.Abs(offset) > TIMER_OFFSET_LIMIT)
                {
                    _nextTrigger = curr + THREAD_SPEED;
                }

                //Run managers
                PlayerManager.PlayerManager_Tick();

                MapManager.MapManager_Tick();

                GuildWar.GuildWar_Tick();

                
            }

            
            return true;
        }
        
        protected override void OnDestroy()
        {

        }


    }
}
NewbieKid is offline  
Old 12/14/2015, 16:07   #4
 
Soulfly25's Avatar
 
elite*gold: 0
Join Date: Mar 2006
Posts: 603
Received Thanks: 69
wait me bro. If I perfect this FastBlade/ScentSword Event in Redux that I coded, I will release it.
Soulfly25 is offline  
Old 12/14/2015, 16:15   #5
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Quote:
Originally Posted by NewbieKid View Post
Code:
                //Run managers
                PlayerManager.PlayerManager_Tick();

                MapManager.MapManager_Tick();

                GuildWar.GuildWar_Tick();

Not trying to be a **** but that is pretty clearly labled in my eyes...

It's saying this is where all the managers are run then it has a bunch of code saying Tick(). Any periodic server checks should be placed there.


Also keep in mind though that that section of code will be run many times per minute so if you're going to do if(DateTime.Now.Minute ==30) make sure you also dont let the code you call be run more than once per minute or you'll spam invites many, many times.
pro4never is offline  
Old 12/15/2015, 00:08   #6
 
elite*gold: 0
Join Date: Dec 2015
Posts: 17
Received Thanks: 0
Quote:
Originally Posted by Soulfly25 View Post
wait me bro. If I perfect this FastBlade/ScentSword Event in Redux that I coded, I will release it.
thank you so much man.. i really need atleast 1 event running on Redux Source so i have the reference..

Quote:
Originally Posted by pro4never View Post
Not trying to be a **** but that is pretty clearly labled in my eyes...

It's saying this is where all the managers are run then it has a bunch of code saying Tick(). Any periodic server checks should be placed there.


Also keep in mind though that that section of code will be run many times per minute so if you're going to do if(DateTime.Now.Minute ==30) make sure you also dont let the code you call be run more than once per minute or you'll spam invites many, many times.
so should i put the my code outside in OnProcess() ??
NewbieKid is offline  
Old 12/15/2015, 01:56   #7
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
No... you'd place it above or below one of the exact lines I pointed to.

The code (while not perfect and not beautiful in any way) is pretty easy to understand...

WorldThread.OnProcess() is a function that runs every 1000Ms and is responsible for world actions (events, timed notifications, etc)

Inside the OnProcess function it's checking if enough time has passed yet (aka the 1000 Ms previously mentioned) and if that's true it runs its logic.
pro4never is offline  
Old 12/15/2015, 02:16   #8
 
elite*gold: 0
Join Date: Dec 2015
Posts: 17
Received Thanks: 0
Quote:
Originally Posted by pro4never View Post
No... you'd place it above or below one of the exact lines I pointed to.

The code (while not perfect and not beautiful in any way) is pretty easy to understand...

WorldThread.OnProcess() is a function that runs every 1000Ms and is responsible for world actions (events, timed notifications, etc)

Inside the OnProcess function it's checking if enough time has passed yet (aka the 1000 Ms previously mentioned) and if that's true it runs its logic.
dang! it works now! thank you so much pro!
now i'll go to my next problem..

where or what cs file shall i go about the Stigma? i searched stigmastamp cause maybe there's the code on making it effect? i mean, when i use stigma, it just give me the effect but not the additional attack? i tried to test in 2 players .. i attacked the other player without the stigma and when i use the stigma the damage is still the same.. i want to fix it thanks..
NewbieKid is offline  
Old 12/15/2015, 02:58   #9
 
LetterX's Avatar
 
elite*gold: 20
Join Date: May 2007
Posts: 1,125
Received Thanks: 332
Quote:
Originally Posted by NewbieKid View Post
dang! it works now! thank you so much pro!
now i'll go to my next problem..

where or what cs file shall i go about the Stigma? i searched stigmastamp cause maybe there's the code on making it effect? i mean, when i use stigma, it just give me the effect but not the additional attack? i tried to test in 2 players .. i attacked the other player without the stigma and when i use the stigma the damage is still the same.. i want to fix it thanks..
Do you know C#?
LetterX is offline  
Old 12/15/2015, 03:01   #10
 
elite*gold: 0
Join Date: Dec 2015
Posts: 17
Received Thanks: 0
Quote:
Originally Posted by LetterX View Post
Do you know C#?
yeah i know lil bit.. just learning C# in this forum all i want is where the coder put the code of what im looking for and see from there, i will try to figure out how that thing goes..
NewbieKid is offline  
Old 12/15/2015, 04:12   #11
 
Soulfly25's Avatar
 
elite*gold: 0
Join Date: Mar 2006
Posts: 603
Received Thanks: 69
Quote:
Originally Posted by NewbieKid View Post
thank you so much man.. i really need atleast 1 event running on Redux Source so i have the reference..
man I think mujake post the dailypk Event in the section of Release Redux Source. Go find it, it was something 70+?
Soulfly25 is offline  
Old 12/15/2015, 06:09   #12
 
elite*gold: 0
Join Date: Dec 2015
Posts: 17
Received Thanks: 0
Quote:
Originally Posted by Soulfly25 View Post
man I think mujake post the dailypk Event in the section of Release Redux Source. Go find it, it was something 70+?
ill find it man.. thanks!

Quote:
Originally Posted by Soulfly25 View Post
man I think mujake post the dailypk Event in the section of Release Redux Source. Go find it, it was something 70+?
im done searching man but still i dont cant find it
NewbieKid is offline  
Reply


Similar Threads Similar Threads
need help Classic Source
12/14/2015 - CO2 Private Server - 2 Replies
i have downloaded redux source today and the source dont have events yet, i saw the codes of GuildWar event but where i can actually make it happen? example: if(DateTime.Now.DayOfWeek == DayOfWeek.Sunday && DateTime.Now.Hour == 10) GuildWarStart(); PlayerManager.SendToServer(new TalkPacket(ChatType.GM, "GuildWar has begun!"); where exactly i put that code?
Classic Conquer 1.0 Source?
12/05/2013 - CO2 Private Server - 9 Replies
For the classic "old" Conquer, what source do you guys prefer? I really want to start looking at the old once, because i liked the old. Like Conquer 1.0.. I am not asking for a complete coded source(i guess nobody is ever going to release that, not sure if it even exist), but a source where most is coded.. The basic portals, npc's, attacks, exp, mobs etc.. Would love to look into a source like that :-) Please do not hate me for my question.
Best 'classic' source?
03/28/2011 - CO2 Private Server - 19 Replies
So, what's the best source out there for a classic server (pre-potency at least)? I'm looking for a clean, organized source that best mimics the official Conquer pre-potency clients.



All times are GMT +1. The time now is 14:30.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.