Double-O-Seven::SetBit include
#1

*** READ THE END BEFORE THIS ***

Hello, I have the errors of:
pawn Code:
I:\WINDOWS-BACKUP\Roleplay\gamemodes\roleplay.pwn(11241) : error 017: undefined symbol "DOB"
I:\WINDOWS-BACKUP\Roleplay\gamemodes\roleplay.pwn(11241) : error 029: invalid expression, assumed zero
I:\WINDOWS-BACKUP\Roleplay\gamemodes\roleplay.pwn(11241) : error 017: undefined symbol "SetBit"
I:\WINDOWS-BACKUP\Roleplay\gamemodes\roleplay.pwn(11241) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
line:

pawn Code:
DOB::SetBit (FS::StaticPickup, pickupid, false);
** This was taken from a premade script for researching how it works and how it will help me **

Well, I have noticed the line of Double-O-Bits.inc is missing, so any chance anyone has got it ?
I really need it or this won't work.

I'm trying out some stuff with DOB:SetBit and DOB:GetBit for a new gamemode, but unluckly because Double-O-Seven isnt scripting anymore & unreachable & deleted his account I cannot find Double-O-Bits only Double-O-Files

I even tried searching on sa-mp.com and ******, no matches.

I know Double-O-Seven has requested to delete everything that he had over here, thats why I'm asking if there is any chance to find it.

Thanks alot !

EDIT:
Thanks alot to doreto, Dwane, ****** and Panovsky.
You have helped me alot, more progress to my gamemode and helping the community in all sorts of ways.
Reply
#2

credits to Double-O-Seven
Reply
#3

Quote:
Originally Posted by doreto
View Post
credits to Double-O-Seven
Thanks alot, this is exactly what I need
the only problem I'm trying to understand over here is

redefinition of constant/macro (symbol "BitArray:%0<%1>")

pawn Code:
#define BitArray:%0<%1> \
    Bits:%0[((%1) + cellbits) >>> SHAMT]
It says redefinition, but there is nothing the same, I'm still researching it.
Reply
#4

They are already defined somewhere in your script and you're trying to re-define them again
Reply
#5

That happens when it's defined more than once. Make sure it's not defined twice in that include, or it's defined to your script, or last if you're using another include with bits and it may uses that.
Reply
#6

Does ****** includes use the same BitArray define ? (YSI/sscanf2/foreach)
My includes dont use BitArray or anything to do with an array.

Includes:
a_samp - SA-MP team
YSI - ******
foreach - ******
streamer - Incognito
sscanf2 - ******
gSRoleplay - gold
a_sampdb - SA-MP team ?
Double-O-Bits - Double-O-Seven
Double-O-Files - Double-O-Seven
Reply
#7

Yes, YSI uses y_bit

By the way, a_sampdb is included in a_samp. You don't need to include it!
Reply
#8

Try to Define This


Quote:

#define BitArray:%0<%1> \
Bits:%0[((%1) + cellbits) >>> SHAMT]

Reply
#9

Just open the include of Double-O-Seven and replace "BitArray:" with other name. I hope not to mess the code, but it's worthing to try it!
Reply
#10

Quote:
Originally Posted by Dwane
View Post
Yes, YSI uses y_bit

By the way, a_sampdb is included in a_samp. You don't need to include it!
Thanks for the tip, I havent noticed in a_samp.

Quote:
Originally Posted by ******
View Post
Yes, y_bits has the same define.
Alright, I havent used y_bits but i'll check it out. mabye there is something over there that will make it way more easier with it. altought the bits are the same

Quote:
Originally Posted by Panovsky
View Post
Try to Define This
Its the same define that is in the double-o-bits include.

Quote:
Originally Posted by Dwane
View Post
Just open the include of Double-O-Seven and replace "BitArray:" with other name. I hope not to mess the code, but it's worthing to try it!
I'll try that, but I should rename it in all of the include

Thank you all so much, you have gave me the ability to get more progress.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)