New paste›Public feed

Public feed

Pastes people chose to make public. Author names hidden.
  • Someone

    954217·text·3.2 KB·2008-03-23 19:29 UTC
    void Player::_SaveInventory()
    {
     // force items in buyback slots to new state
     // and remove those that aren't already
     for (uint8 i = BUYBACK_SLOT_START; i < BUYBACK_SLOT_END; i++)
  • Untitled

    954216·text·122 B·2008-03-23 19:28 UTC
    public OnPlayerText(playerid, text[])
    {
    
     if (strcmp(text,"player text",true) == 0)
     {
     blablabla
     }
    return 1;
    }
  • Stuff

    954214·text·2.9 KB·2008-03-23 19:24 UTC
    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    # newer versions of the distribution.
    
    deb http://de.archive.ubuntu.com/ubuntu/ gutsy main restricted
    deb-src http://de.ar
  • Unnamed

    954213·text·4.8 KB·2008-03-23 19:23 UTC
    void Player::SaveToDB()
    {
     // delay auto save at any saves (manual, in code, or autosave)
     m_nextSave = sWorld.getConfig(CONFIG_INTERVAL_SAVE);
    
     // Must saved before enter into BattleGr
  • Anonymous

    954212·text·180 B·2008-03-23 19:23 UTC
    packet := rrq | wrq | xrq |
     ack-N | data-N | data-last
    cmd := lose <packet> |
     delay <packet> <seconds> |
     duplicate <packet> |
     deliver <packet>
  • Mine

    954209·text·2.6 KB·2008-03-23 19:21 UTC
    arnetheduck@atd ~/src/dcplusplus $ bzr push --remember https://dcplusplus.svn.sourceforge.net/svnroot/dcplusplus/dcplusplus/trunk
    bzr-svn is not up to date with installed bzr version 1.3. 
    There sho
  • Mine

    954208·text·386 B·2008-03-23 19:21 UTC
    #!/bin/sh
    
    FILENAME="$1"
    mkfifo audiodump.wav
    mkfifo stream.yuv
    mplayer -ao pcm -vo yuv4mpeg "$FILENAME" &
    oggenc -q 4 audiodump.wav &
    shift
    FFOPTS="$@"
    if [ "$FFOPTS"a = a ]; then
     F
  • hi

    954207·text·1.8 KB·2008-03-23 19:21 UTC
    menu status,nicklist,query,channel {
     -
     Tags
     .autotext only : set %talker talkerat | beep 3 | echo $active 4 *** autotext only Activated
     .OFF: set %talker off | beep 3 | echo $active 4***
  • Untitled

    954204·python·140 B·2008-03-23 19:18 UTC
    #headerleft {
     background: #FFFFFF url(images/logo.gif);
     height: 160px;
     width: 160px;
     float: left;
     margin: 0px;
     padding: 0px;
     }
  • Someone

    954202·cpp·1.0 KB·2008-03-23 19:16 UTC
    uint32 Player::GetArenaTeamIdFromDB(uint64 guid, uint8 type)
    {
     // need fix it!
     QueryResult *result = CharacterDatabase.PQuery("SELECT arenateamid FROM arena_team_member WHERE guid='%u'", GU
  • Tomasso

    954201·python·340 B·2008-03-23 19:16 UTC
    import re
    from mechanize import Browser
    
    br = Browser()
    br.open("http://201.216.202.89/apps/gombu/fsearch.php?tid=0")
    >>> print br
    
    br.addheaders(['Accept: text/html'])
    
    Traceback (most recen
  • Untitled

    954200·text·460 B·2008-03-23 19:15 UTC
    public OnPlayerText(playerid, text[])
    {
    
     if (strcmp(text,"player text",true) == 0)
     {
     blablabla
     }
    return 1;
    }
    
    How to make so that where it is written " player text " the file from script
  • Miscellany

    954199·cpp·959 B·2008-03-23 19:15 UTC
    uint32 Player::GetArenaTeamIdFromDB(uint64 guid, uint8 type)
    {
     // need fix it!
     QueryResult *result = CharacterDatabase.PQuery("SELECT arenateamid FROM arena_team_member WHERE guid='%u'", GU
  • Someone

    954198·text·333 B·2008-03-23 19:13 UTC
    /****************************/
    //Stiple Lines 1 - Left Side Below
    /****************************/
    
     glLineWidth(2);
     glEnable (GL_LINE_STIPPLE);
     glLineStipple (1, -3644);
     glBegin (GL_
  • Anonymous

    954197·text·231 B·2008-03-23 19:13 UTC
    glLineWidth(2);
     glEnable (GL_LINE_STIPPLE);
     glLineStipple (1, -3644);
     glBegin (GL_LINE_STRIP);
     
     for(i= 0; i < 2; i++)
     {
     glColor3f(255,0, 0);
     glVertex2f (-2.5 + (i * 5.0)
  • Untitled

    954196·text·1.7 KB·2008-03-23 19:12 UTC
    #include <Etk.h>
    #include <stdio.h>
    
    static void cb_close(Etk_Object *object, int response_id, void *data);
    void etk_hello_world_show();
    
    int main(int argc, char **argv)
    {
     etk_init(argc, argv
  • Anonymous

    954194·text·643 B·2008-03-23 19:11 UTC
    {
     if( Player::GetArenaTeamIdFromDB((*m_SelectionPools[mode1].SelectedGroups.begin())->Players.begin()->first,arenatype) ==
     Player::GetArenaTeamIdFromD
  • Mine

    954193·text·1.1 KB·2008-03-23 19:11 UTC
    insert into `creature_template` (`entry`, `modelid_A`, `modelid_A2`, `modelid_H`, `modelid_H2`, `name`, `subname`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `fac
  • Anonymous

    954191·text·1.2 KB·2008-03-23 19:09 UTC
    217.149.250.153:22277
    189.32.56.140:11011
    89.33.215.15:11033
    89.116.96.53:11022
    85.84.172.145:11022
    85.84.172.145:11022
    83.165.117.33:11011
    84.46.184.153:11022
    78.62.107.136:11011
    62.57.251.1
  • Miscellany

    954190·text·1.1 KB·2008-03-23 19:07 UTC
    root:/sources/gcc-build# cc dummy.c -v -Wl,--verbose &> dummy.log
    root:/sources/gcc-build# readelf -l a.out | grep ': /lib'
     [Requesting program interpreter: /lib/ld-linux.so.2]
    root:/sources/

older pastes →