News:

If you need instructions on how to get through the hotels, check out the enclosed instruction book.

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - CranberryClock

#1
General Discussion / Re: Any old heads still around
April 18, 2025, 06:51:46 PM
i lurk
#2
I wouldn't be surprised if I get it.
#3
General Discussion / Re: Alright...
February 27, 2020, 05:21:48 PM
I'm not the smartest dick hole to fill but I'm almost positive C won't help you with SMF.
#4
General Discussion / Re: Alright...
February 27, 2020, 05:25:13 AM
VCRclock.

I I'm in the discord under CranberryClock. Please reach out to me, at least this account can prove I'm not just a rando and the account on discord is a partner verified account so I'm not just a quick scheme register person. Literally reach out to me please and thank you.
#5
General Discussion / Alright...
February 27, 2020, 05:10:48 AM
Who do I have to fuckstart to get this place back to it's full time glory. Admin team please reach out.

<3Cran

I've retired and have literally 20hrs of the day on hand now. Let's make some magic. You can control everything just lending a hand from an elder.
#6
So about that 500$ I owe pineapple clock..
#7
Maybe it's a sign
#8
Some people like myself still lurk waiting for the right time to strike.
#9
General Discussion / Python?
May 09, 2012, 08:39:49 AM
Anyone here a python user? I am trying to figure out the advantages of v3 vs v2. I am profecient in py 2000 but am wondering if relearning for py 3000 is worth it considering its so newish and most modules and lib's arent supported by py 3000.
#10
General Discussion / New admin discussion
May 09, 2012, 08:36:31 AM
Hi
#11
Gaming & Technology / MoP beta
May 08, 2012, 10:22:17 AM
It sucks... pft
#12
General Discussion / I need an artist :-)
April 20, 2012, 06:42:45 AM
Fine you heathens...

Working on a logo for a new Minecraft portal. The website name is dirtcube and we need a logo/character that fits that. We have been toying around with the idea of a overdramatic looking Dirt Block where the grass would be the hair and it would have a face on the front. We want several expressions so it can load multiple images of it on refresh, one smiling, on with like X's for its eyes and a sad face.. something kind of comical.

Think of how the portal rating system works. Were looking for how pico's face is to represent how you vote. This is important because we will have a voting system that shows faces identical like that except it will be of the 5/5 replacement in stars that we rate things. The main logo will be of the same mascot character.

We will be paying based on the qaulity of the image, not to exceed 200$.

-Cran
#13
General Discussion / I need an artist :-)
April 19, 2012, 12:51:43 PM
I am working on something and need someone that is good at art and can do facial expressions, its a drawing position and you will be making a logo with basic art which is Minecraft oriented. This is a paid position. Please PM for details :-)

_Cran
#14
So I got canned today and moved from my position to a shit job. Working on source code is a bit hard, and sometimes shit doesn't work. When it doesn't work you revert it. Everywhere I have ever worked you load the last stable backup if something is not working. Unless you work here. Then some shit fuck boss of yours decides that 100,000+ concurrent connections obviously isn't different than 100 internal testers. Fuck this guy. Point being, shit breaks, we revert down a code revision to have a stable enviroment. This guy faggots up and fires me cause we didn't patch up. GTFO of here...

What was supposed to happen:

Lua is hardcorded into the server. It allows relay functions sent through the irc channels to run set API instructions. Since the API instructions are locked it requires a key from the client which is generated on login and installed into the client on startup, we call them modules. The modules are what protects the server from attacks and other users from automated Lua scripts. These are known as PROTECTED/SIGNED. If someone tries to run a script thats not matching the modules key, it forces a TAINT. We created a new batch of systems which allowed for submission of bug tracking, suggestions etc which synched with a backend on the web admin panel. Awesome right? Ingame->Website->synched. It didn't work.

What really happened when 100,000+ all generated a unique id on the database flow:

Lua while great for scripting sometimes gets a littler overwhelmed. You see the math Lua is a script based high level render. Sometimes it just doesn't work well.


local x = os.clock()
local s = 0 for i=1,100000 do s = s + i end
[COLOR=#FF0000]XXXXX[/COLOR](string.format(&quot;User ID: %.2f\n&quot;, os.clock() - x))  


***XXXXX is a protect function from the source code I cannot reveal.

Thats awesome right.. with a pool sample of 100 people, the chances of each person to the 100,000th number is impossible to none. That means every user of 100 would have to try 100,000 times on logging in to try and get the sane unique player id for the session. In a 100,000 however, this makes it more likely.

Now we have to bring out the big guns:


typedef unsigned __int64 u64;
 double mNanoSecondsPerCount;

 #include "lua.h"
#include "lualib.h"
 #include "lauxlib.h"  

 int prevInit = 0; int currInit = 0;
 u64 prevTime = 0; u64 currTime = 0;
u64 FrequencyCountPerSec;  
LARGE_INTEGER frequencyTemp;
static int readHiResTimerFrequency(lua_State *L) {     QueryPerformanceFrequency(&frequencyTemp);
     FrequencyCountPerSec = frequencyTemp.QuadPart;  
  lua_pushnumber(L, frequencyTemp.QuadPart);
    return 1;
}  
LARGE_INTEGER timerTemp;
 static int storeTime(lua_State *L)
{    
 QueryPerformanceCounter(&timerTemp);
     if(!prevInit)    
 {      
  prevInit = 1;    
     prevTime = timerTemp.QuadPart;  
   }  
  else if (!currInit)
    {        
 currInit = 1;    
     currTime = timerTemp.QuadPart;  
   }  
   else
    {  
      prevTime = currTime;  
       currTime = timerTemp.QuadPart;
    }    
  lua_pushnumber(L, timerTemp.QuadPart);
    return 1;
 }
  static int getNanoElapsed(lua_State *L)
 {    
 double mNanoSecondsPerCount = 1000000000/(double)FrequencyCountPerSec;
     double elapsedNano = (currTime - prevTime)*mNanoSecondsPerCount;  
   lua_pushnumber(L, elapsedNano);  
   return 1;
}
  int luaopen_HighResolutionTimer (lua_State *L)
 {    
  static const luaL_reg mylib [] =  
   {      
  {"readHiResTimerFrequency", readHiResTimerFrequency},{"storeTime", storeTime}, {"getNanoElapsed", getNanoElapsed},    
    {NULL, NULL}
  /* sentinel */  
   };    
  luaL_register(L,"timer",mylib);  
    return 1;
 }



require './HighResTimer'  
start();
 for i = 0, 3000000 do io.write("")
 end
--do essentially nothing 3million times.
stop();  
--divide nanoseconds by 1 million to get milliseconds
executionTime = getNanosElapsed()/1000000;  io.write("playerID: ", executionTime, "ms\n");


This is the fix.. right? No it actually doesn't work because of the way redundancy packets work. When you play a multiplayer game you have to generate multiple sessions incase one drops. Which means we use multiple threads in the case that someone is lagging or your in a raid enviroment. Mind you this is just for the instant play server, not the AUTH or the Database server. So we generated a new style of system which generates the id with a word. A user then has xxxx.time(id). So what was the problem?

A player on multiple realms could theoretically login at the same time generating a duplicate entry thus causing a malposition on the relay server of multiple user names. Think of a game online, have you ever tried to register a name and its taken? So you go to a new realm or server to secure it. Hyptothetically if someone that had your name, and you have your name and you both login at the same time the session id would essentially be the same confusing the login server. Now multiply that by 200+ as each realm has its own unique login database but they all share the same Support database. 200 people with the same name with the chance of logging in at the same time is slim to none.. but it does happen.

So I reverted the change until we could come up with a solution and we pushed a build.

My boss did not like this, and thus I now work in networking side instead of the server management/build side. The fucked up part? He brought it up at a meeting as a problem and they all praised and lauded his effort into preventing a mishap by rolling the code back until we fix it. But I get fired from my position for it.

I need somoene to shoot this guy.

/end rant
#15
Gaming & Technology / Clockcrew Minecraft Server
April 16, 2012, 07:02:51 AM
I am announcing the close of the server.

Being as this server is costing money to maintain and run I stated it would be available on the validation of use. In the last 30 days we have used only 1.8gb of traffic from 18 users for a total time of 5.1 hours of login time. The rest of the time was spent either "idle" and no concurrent connection was used or users just logged in, then logged off.

I will be shutting the service down soon. If you would like a back up, please ensure you have all mods to support the backup.
#16
Quote from: Thor;1903710It's losing subscribers very quickly. Subscriptions peaked near released and have been going down ever since.


People are leaving because servers are empty at this point. It's Warhammer Online all over again

EDIT: Indecently, EA just gave a free month subscription to anybody with a level 50 character who is currently subscribed. Does that sound like the actions of a company confident in its ability to maintain subscribers?

Blizzard has given free game time.. but usually its because of outages.. I guess the major factor thats going to trump and show a failure is what we call in the industry as the "Newbcuiting" *noob-cooting* effect.

The newbcuiting effect is an effort to recruit new (newb) players into playing a game that is free for the sake of making them addicted to gameplay or feel the investment they are making is worth the time played.

Heres some examples:

-Double XP weekends
-Freemium, Free to play, with premium products
-Free to play weekends where you get 2 free days a week to play the game, which requires an active subscription which makes no sense because you still pay for the month, but you assume you get... free days. Its a market ploy
#18
General Discussion / OFFICIAL MAYOR VOTING THREAD
April 12, 2012, 11:57:54 AM
Is that an Asshat on me?
#19
The side by side comparisons is like showing a shoe box and saying its a bear trap. Fuck peopel cant draw.
#20
General Discussion / OFFICIAL MAYOR VOTING THREAD
April 11, 2012, 06:25:49 AM
Can I have cake now?