PtokaX forum

Stuff => Offtopic => Topic started by: TTB on 14 February, 2008, 11:38:49

Title: RAW commands for OP-clients
Post by: TTB on 14 February, 2008, 11:38:49
Here are some OP-client related RAW commands... Might come in handy  ;)

Old Raw Parameters

%[mynick] = Display Your Nick
%[nick] = Display Users Nick
%[tag] = Display User Tag
%[description] = Display User Description
%[email] = Display User Email
%[share] = Display Exact Share in Bytes
%[statedshare] = Display Stated Share in Bytes
%[statedshareformat] = Display Stated Share ( xx Kb)
%[realshare] = Display Real Share in Bytes
%[realshareformat] = Display Real Share ( xx Kb)
%[filesshared] = Display Number of Files Shared by User
%[shareshort] = Display xx Kb
%[ip] = Display IP adress
%[userip] = Display User IP
%[host] = Display User Host
%[file] = Display Filename
%[clienttype] = Display Clienttype
%[ct] = Display Clienttype
%[cc] = Display Client Comment (Not Recommend in AML Profiles)
%[cheatingdescription] = Display Cheating Description
%[cd] = Display Cheating Description
%[clientinfo] = Display a report of the User
%[nl] = makes a new line (eg. Enter)
%[line:<title>] = opens a dialog like kick reason
%[kickline:<title>] same as %[line:<title>] but it saves last 20 strings.
%[adl] = Display ADL Comment if set
%[t] = trigger from fav hubs
%[opchat] = the OpChats nick if set in fav hubs

New Raw Parameters

Basic Paramters

%[userNI] - Display user nick
%[userDE] - Display user description
%[userI4] - Display user IP
%[userU4] - Display user UDP port
%[userEM] - Display user email
%[userCO] - Display user connection type
%[myNI] - Display your nick
%[myDE] - Display your description
%[myI4] - Display your IP
%[myU4] - Display your UDP port
%[myEM] - Display your email
%[myCO] - Display your connection type
%[userLO] - Display User Lock
%[userPK] - Display User PK String
%[userSU] - Display User Supports
%[userIS] - Display User ISP
%[userHT] - Display User Host
%[userCM] - Display Comment (Dunno what this one does)

Client Checking Parameters

%[userCS] - Display Cheating Description
%[userCT] - Display Client type
%[userMT] - Display Myinfo type
%[userSS] - Display Size of share in bytes (from MyInfo string)
%[userSSshort] - Display Formated size of share
%[userRS] - Display Real size of share (checked by "Check File List" test)
%[userLS] - Display File list size
%[userLL] - Display File list size in bytes
%[userFD] - Display Disconnection made by Client
%[userTO] - Display Connection Timeouts made by Client
%[userTC] - Display 1 if "Get user response" is complete
%[userFC] - Display 1 if "Check File List" is complete
%[userBC] - Display 1 if client is bad/fake
%[userBF] - Display 1 if fle list is bad/fake
%[userST] - Display Status of Client
%[userTS] - Display answer of "Get user response" test
%[userCM] - Display Client Comments (Not Recommended when using AML Clientlists)
%[userOP] - Display 1 if user is OP
%[ussrHU] - Display 1 if user is hubbot
%[userBO] - Display 1 if user is Bot (user w/o connection type in NMDC)
%[uuserHI] - Display 1 if user is Hidden
%[userTA] - Display user Tag
%[userVE] - Display user client version
%[userHN] - Display number of hubs where user dont have account(reg/vip)
%[userHR] - Display number of hubs where user have account
%[userHO] - Display number of hubs where user have OP account
%[userSL] - Display number of user slots
%[userRG] - Display 1 if user is registered on hub
%[userGE] - File List Generator
%[userFI] - File List CID
%[userUC] - Unknown Commands
%[userSF] - Shared files count
%[userST] - IconStatus
%[userSL] - Slots count
%[userTCTime] - Time of TestSUR complete
%[userFCTime] - Time of File List check complete
%[userCID] - CID
%[userLS] - List size
%[userUS] - Connection
%[userSID] - SID
(Note: designed for http://dcplusplus.sf.net/ADC.htm)
%[userAW] - Returns whether user has set away status
(Note: designed for http://dcplusplus.sf.net/ADC.htm)

ADL Parameters

%[adlFile] - File name
%[adlComment] - Comment
%[adlFileSize] - File size
%[adlFileSizeShort] - File size (short format)
%[adlTTH] - File TTH
%[adlForbiddenSize] - Forbidden files size
%[adlForbiddenSizeShort] - Forbidden files size (short format)
%[adlTotalPoints] - Total ADL Search points
%[adlAllFileNames] - List of all forbidden file names (separated with ";")
%[adlFilesCount] - Forbidden files count
Title: Re: RAW commands for OP-clients
Post by: CrazyGuy on 15 February, 2008, 12:53:51
to which clients do these new commands apply ?
Title: Re: RAW commands for OP-clients
Post by: TTB on 15 February, 2008, 15:20:32
Quote from: CrazyGuy on 15 February, 2008, 12:53:51
to which clients do these new commands apply ?
These RAWs are mostly for OPclients.

The newer RAWs are for zK++ BE and zK++ 0.73+. Zion was also using newer RAWs. Apex might also use this RAWs. If someone else can confirm which clients are using this, feel free to post it in this topic.
Title: Re: RAW commands for OP-clients
Post by: Toast on 17 February, 2008, 12:40:07
Basicly any mod of sDC++ 2.x has the new raw system

Not sure when they implemented into DC++ if it was at  0.69* or 0.7* so all new clients
Title: Re: RAW commands for OP-clients
Post by: Pothead on 04 March, 2008, 11:42:31
Quote from: Toast on 17 February, 2008, 12:40:07
Not sure when they implemented into DC++ if it was at  0.69* or 0.7* so all new clients
Implemented what into dc++ ?